Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Crontab not executing
- Date: Sun, 25 Mar 2007 11:09:40 +0900
- From: "Nguyen Vu Hung" <vuhung16plus@example.com>
- Subject: Re: [tlug] Crontab not executing
- References: <4605B81F.4010702@example.com>
On 3/25/07, Dave M G <martin@example.com> wrote:TLUG,
I have a shell script that I want to run once daily at 12 PM (noon) every day. The shell script is of my own creation, and it works when I execute it from the command line.
However, it's not successfully being executed by cron.
Here is what I put into my crontab file:
0 12 * * * sh /home/dave/myShellScript.sh
Have I messed up my syntax or something?
Something you should check:
1. crond is running ( ps -ef | grep cron ) 2. delete "sh", it is reduntant. 3. make sure "head -n 1/home/dave/myShellScript.sh" is "#!/bin/sh"
2., 3. is equivelent to Robbins' solution: replace "sh" with its full path "/bin/sh"
HTH
-- Best Regards, Nguyen Hung Vu vuhung16plus{remove}@example.com VIQR Standard: http://vi.i18n.kde.org/viqr http://www.flickr.com/photos/vuhung/tags/fav/
- Follow-Ups:
- Re: [tlug] Crontab not executing [SOLVED]
- From: Dave M G
- References:
- [tlug] Crontab not executing
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Crontab not executing
- Next by Date: Re: [tlug] Non destructive update of MySQL database
- Previous by thread: Re: [tlug] Crontab not executing
- Next by thread: Re: [tlug] Crontab not executing [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links