files need read permission ?
Could not open input file
chmod'd the file to 777
Changed the script to just echo "Hello world"
Tried initiating the cronjob as the root user
chmod'd the crontab file itself to 777
# crontab -e
00 * * * * /usr/local/bin/php /home/john/myscript.php
00 * * * * lynx -dump http://www.thegeekstuff.com/myscript.php
*/5 * * * * /usr/bin/curl -o temp.txt http://www.thegeekstuff.com/myscript.php
*/10 * * * * /usr/bin/wget -q -O temp.txt http://www.thegeekstuff.com/myscript.ph
Комментарии
Оставить комментарий
Диагностика, обслуживание и ремонт электронной и радиоаппаратуры
Термины: Диагностика, обслуживание и ремонт электронной и радиоаппаратуры