About the Cron Daemon

Cron Daemon is a tool on Unix type servers which allows you to schedule the running of tasks, chronologically. The job board needs to process the Outgoing Email queue every few minutes and process the email alerts every hour. Additionally, several other 'house keeping' tasks need to be performed. (Note: On Windows a similar tool exists in the System Tools folder called 'Scheduled Tasks')

It is recommended that you set up a Cron job / scheduled task for the Job Board. If your hosting company does not provide this service then the job board can emulate a cron job, although this approach is not recommended for large websites. You can turn cron emulation On / Off from the Main Config.

The script that needs to be scheduled to run every minute is called cron.php and it's located in the cron/ directory. On this server, the full path to this script is:/home/jamit/public_html/demo/cron/cron.php and the http address is: http://www.jamit.com/demo/cron/cron.php (assuming from your settings in Main Config)

Example: How to setup cron.php to run every 5 minutes

For Cpanel based hosting accounts:

Cpanel based accounts are fortunate to be able to setup cron jobs via web-based interface. Simply go to the Cron jobs page and add the following command in to run every five minutes:

nice /usr/bin/php -f /home/jamit/public_html/demo/cron/cron.php
For accounts with shell access (SSH):

Type in this command:
crontab -e
Input the following line in this file:

*/5 * * * * nice /usr/bin/php -f /home/jamit/public_html/demo/cron/cron.php
Save this file. (If you are using VIM editor press I to insert, then to save & quit press Esc and then type in :wq and press Enter. If you are using Gnu Nano / Pico then press Ctrl+O then Ctrl+X
The cron will be updated automatically after saving the file.
Note: The 'nice' command was added so that this process will run with a lower priority.
/usr/bin/php is the full path to your php executable. Please refer to your hosting documentation to confirm that this path is correct for your server.

Note: If the above command does not work, you may try other froms of the command. Once common way is to get a web browser / http client to request the cron.php page.
This can be done in the following ways:
- If your server supports curl:

*/5 * * * * curl -s -o /dev/null http://www.jamit.com/demo/cron/cron.php

- If your server supports fetch:
*/5 * * * * fetch -o /dev/null http://www.jamit.com/demo/cron/cron.php

- If your server supports lynx:
*/5 * * * * lynx > /dev/null -dump http://www.jamit.com/demo/cron/cron.php

- If your server supports wget:
*/5 * * * * wget -q -O /dev/null http://www.jamit.com/demo/cron/cron.php


Cron Setup: Cron Daemon
Last Housekeep run: Sat, 17 Mar 2018 14:02:32 +0000 (run every minute)
Last Hourly run: Sun, 25 Jul 2010 08:24:57 +0000(run every hour)