WARNING: This is an Experimental feature.  These instructions are considered for advanced users and future server changes may remove or break functionality that is described. 

If you have the need to run a cronjob on a Cornell Stack VM you can create one using PHPShell. This is an ADVANCED feature and is only recommended for users that are familiar with unix cron.

PLEASE SUPPRESS ALL OUTPUT.

Sample cronjob:

0 * * * * wget -O - -q -t 1 http://myawesomedrupalsite.cornell.edu/cron.php >/dev/null 2>&1

How to load the cronjob from phpshell:

crontab /[path to]/mycronjob.txt

How to view the contents of cron from phpshell:

crontab -l
  • No labels