Mailing List Archive


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

Re: [tlug] Running an Exec file with Cron



[Charles Muller (Re: [tlug] Running an Exec file with Cron) writes:]
>> On Mon, 2002-06-17 at 20:57, B0Ti wrote:
>> 
>> > Is it really in /etc in your system (Redhat?)?  User crontabs go into
>> > /var/spool under debian. System-wide cron jobs are in /etc/cron.*
>> 
>> I have one in /usr/bin and one in /etc. I'll have to check and see which
>> one is being used here.

It is getting into your script at all? When I have been debugging
troublesome cron-triggered scripts, I pop "echo" messages at key points.
They'll get emailed to you when the script runs/crashes/whatever.

(I had some cron-fun a few weeks ago. At GaiDai in February they moved
the WWW server to a new machine, [which took a bit of sorting out as files
and permissions were totally snafued.] Anyway some months later some
shichmenchou decided to turn on the old server. I couldn't work out why I'd
started to get double cron emails. The sysadmins were hunting for ghost
cron daemons and everything. All turned out to be that idle Sun in the
corner that someone had flipped the power switch on.)

Jim

-- 
Jim Breen  (j.breen@example.com  http://www.csse.monash.edu.au/~jwb/)
Computer Science & Software Engineering,                Tel: +61 3 9905 3298
P.O Box 26, Monash University,                          Fax: +61 3 9905 5146
Clayton VIC 3800, Australia      ジム・ブリーン@モナシュ大学

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links