Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: system call in crontab

by Anonymous Monk
on Jul 20, 2009 at 03:59 UTC ( [id://781514]=note: print w/replies, xml ) Need Help??


in reply to system call in crontab

What error messages do you get?

Replies are listed 'Best First'.
Re^2: system call in crontab
by naildownx (Beadle) on Jul 20, 2009 at 04:24 UTC
    That's what I would like to know...I don't see any when I try to log it..
    The early bird gets the worm but the second mouse gets the cheese.
    pretendeavor
      If you cronjob exit with a non-zero value it typically sends the error message as an email to root. But since you have been getting those emails you probably want to capture the error messages to a file. You can do this my redirecting standard error to a file. Do that that add the string  /tmp/error.txt 2>&1 to your cronjob entry. It would look something like this:
      1 * * * * /usr/whatever/foo > /tmp/error.txt 2>&1

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://781514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found