You get a bonus - 1 coin for daily activity. Now you have 1 coin

Why Does 'Could Not Open Input File' Occur in Ubuntu Crontab?

Practice




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

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Diagnostics, maintenance and repair of electronic and radio equipment"

Terms: Diagnostics, maintenance and repair of electronic and radio equipment