Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

apache run script on startup

sudo nano /etc/init.d/apache
or
sudo nano /etc/init.d/apache2

Search for the start / restart section and add your cli call for your PHP script

restart)
            [..]
            php -q /tmp/myscript.php &
            ;;
Comment

PREVIOUS NEXT
Code Example
Shell :: turn of raspberry 
Shell :: virtualbox linux manjaro 
Shell :: macos find file or directory by name 
Shell :: gradle init java application 
Shell :: ubuntu logout 
Shell :: error: src refspec master does not match any error: failed to push some refs to android studio 
Shell :: how to install jwt in angular 
Shell :: kumaran km github 
Shell :: kill process group linux 
Shell :: preload for ubuntu 
Shell :: connect vm to cloud storage gcp 
Shell :: git delete tag from commit 
Shell :: bash while true 
Shell :: ubuntu youtube download playlists 
Shell :: oevrride localwith remote branch 
Shell :: how to see pip installed packages 
Shell :: ubuntu "Read-only filesystem" 
Shell :: bash remove directory 
Shell :: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) 
Shell :: how to uninstall heroku cli 
Shell :: how to check in a library if it is installed in conda 
Shell :: ubuntu install pip 
Shell :: ubuntu adduser 
Shell :: git tag last 
Shell :: how to make wsl import 
Shell :: install vlc fedora 
Shell :: reset one branch onto another 
Shell :: git stash apply item 
Shell :: dbeaver install 
Shell :: increase sound in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =