I have a simple function set up for a Daily Scheduled Task. It was difficult to find info on this topic, but I pieced together enough to get me real close. I know the task works because it tests ok when I run http://yourdomain.com/DailyTask
I've setup a cron job that looks like this: */1 * * * * /usr/bin/php-cgi /path/to/my/site/sapphire/cli-script.php DailyTask I set it up for every minute just for testing purposes. The email log that I receive stats this, "Please specify an argument to cli-script.php/sake. For more information, visit http://doc.silverstripe.org/doku.php?id=sake" I tried setting up the _ss_environment.php file according to the info there and here - http://www.silverstripe.org/general-questions/show/260805#post260805 but to no success. My _ss_environment.php looks like this
$_FILE_TO_URL_MAPPING['/path/to/my/site'] = 'http://mydomain.com';
I'm running low on ideas, any help would be very much appreciated.