Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Crontab not executing [SOLVED]



Nguyen, Mike, Edmund, Scott,

Thank you for responding.

As you all pointed out, the problem essentially lay with not having specified a complete path to the "sh" command.

I followed the advice that said I should do away with the "sh" command anyway, by making the shell script executable (by adding "#! /bin/sh" to the top of the file and executing "chmod +x" on it).

I've verified that it works by adding an extra command to send me an email when it runs, and it did so this morning.

Thanks for the help!

--
Dave M G
Ubuntu 6.10 Edgy Eft
Kernel 2.6.20-5-generic
Pentium D Dual Core Processor
PHP 5, MySQL 5, Apache 2




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links