I have setup a few corn jobs which are running as expected.
I have added >/dev/null 2>&1 to the end of the command to stop the email being sent but every time the cron job runs it is generating a text file in the root of my server.
Here is a full example of the command that is running:
Code: Select all
wget http://mydomain.com/ajax.php?action=sync_items >/dev/null 2>&1
Code: Select all
ajax.php?action=sync_items
Thanks