June 15, 2006

How To Setup A Cron Job

Go to the Standard Cron Manager in your Cpanel acount and setup a cron job that looks like this:

22 13 * * * lynx -dump http://www.example.com/script.php

Where 22 is minutes, 13 is the hour, * is every day, * is every month, * is every weekday and “lynx -dump http://www.example.com/script.php” is the command to run.

Filed under Web by admin.
Permalink • Print •  • Comment

Here’s the command to restart FTP on your server:

/etc/rc.d/init.d/pure-ftpd start

Filed under Web by admin.
Permalink • Print •  • Comment

If you have access to shell on your own server and you need to restart cron jobs, here’s your command:

/etc/init.d/cron* restart

Filed under Web by admin.
Permalink • Print •  • Comment