Every 15 minutes, I need to run a PHP script. So I created a execute.sh file containing this line:
#!/bin/sh php execute.php >> twitter.log When I run the script manually, it works. Oddly, running it from cron is not working. Here is the contents of crontab:
*/15 * * * * /var/www/TwitterBot-master/execute.sh >> /dev/null 2>&1 Obviously, the script has the right permissions.
Thanks for your help