help with 'cron'

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Thu Apr 14 19:06:53 UTC 2005


Lennart Sorensen wrote:
> Some hints about cron:
> 
> Everything run in cron has:
> 
> No PATH by default.  Use explicit paths to all commands or add a PATH to
> your script.
> 
> No terminal (it isn't running on a tty so don't try to do anything that
> requires a tty to exist).  stdout/stderr are logged and mailed if any
> output occours.  Interactive programs won't work.  If they need a tty,
> sometimes you can use screen in interesting ways to fake one but I am
> not sure about that one.
> 
> Also:
> 
> The crontab should end in a blank line to ensure that each line you care
> about ends in a linefeed, since cron demands all lines end in a linefeed
> or they are ignored.
> 
> Maybe that helps a little.
> 
> Lennart Sorensen

 >_O

It was the missing line feed at the end I think... Thanks muchly!

Madison - back to tieing up loose ends...

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Madison Kelly (Digimer)
TLE-BU, The Linux Experience; Back Up
http://tle-bu.thelinuxexperience.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list