I try to run a cronjob every 20 minutes. This works manually:
php /srv/www/mysite.co.uk/public_html/PP/Make_XML.php LONDON
I tried using "crontab -e" and install it even every 20 minutes with
*/20 * * * * php /srv/www/mysite.co.uk/public_html/PP/Make_XML.php LONDON
it was saved in /tmp/crontab.0xYhei9m/crontab
And it does not work. What is wrong here?
EDIT:
Current statistics:
*. cron is up and running:
root 31855 1 0 08:39 ? 00:00:00 /usr/sbin/cron
*. Running "crontab -l" shows:
* / 20 * * * * / usr / bin / php / srv / www / mysite.co.uk / public_html / PP / Make_XML.php LONDON
And still no. Again, the manual control of the script works just fine.
Tom
source share