[wplug] crontab problems

Chris Romano romano.chris at gmail.com
Wed Feb 9 14:43:27 EST 2005


On Wed, 9 Feb 2005 19:31:17 +0000, Burt E Reany <breany at csc.com> wrote:
>> First:
>>  Slack 10
>> Dillion's Cron
>> 
>> I have a script that I want to run every minut from 9 am to 4 pm
>> Monday - Friday.  So I figure the best thing to do is us cron ...
>> that's what it's for.
>> 
>> so
>> chris at mail:~$ crontab -e
>> 
>> * 9-16 * * Mon-Fri /home/chris/script.sh
>> 
>> chris at mail:~$
>> 
>> Ok so I wait ... and nothing.  The script from what I can tell does
>> not run.  I have done the same for root's crontab and it work perfect.
>> 
>> # cat /var/spool/cron/crontabs/chris
>> * 9-16 * * Mon-Fri /home/chris/script.sh
>> #
>> 
>> $ ls -l script.sh
>> -rwxr-xr-x  1 chris users 45 2005-02-07 13:56 script.sh
>> 
>> Is my syntax wrong, or did I miss something? From the man pages and
>> google it looks good to me.
> 
> 
> 
> Have you tried putting a "touch /tmp/t" as the first command in the script,
> to see if it's kicking off atall?
> 

I just did and nothing yet.  So it looks like it's not running. If I
run the script "./script.sh" it works fine.  script.sh just calls two
other scripts that insert data into a mysql database.

Thanks,
Chris


More information about the wplug mailing list