RockSoft Server Consultancy
         LiveZilla Live Help Please Login or Register

Knowledgebase

Linux Cronjob

 

Below is few example to run a cronjob:

every five minute using http wget:

*/5 * * * * wget http://domain.tld/mailman.php -O /dev/null

every midnight using file path:

0 0 * * * /usr/bin/php -q -f /home/username/public_html/filepath.php -O /dev/null

you may do this inside cpanel by clicking cronjob menu, use standard interface for easier menu and advanced. normally if you are running a script, the install instruction will tell you what cronjob command to be run so you may simply set it in cpanel cronjob menu. Otherwise above command example might help you.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read


Client Login

Email

Password

Remember Me