![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Traverse a flatfile and check for errors | aravindc | Shell Programming and Scripting | 1 | 04-16-2008 11:56 PM |
| Crontab Check | iAm4Free | Shell Programming and Scripting | 4 | 05-02-2007 11:08 AM |
| Check this out. Find out the errors as much as possible. thanks | CULM | What's on Your Mind? | 6 | 11-10-2005 11:43 PM |
| Adapter Errors and Link Errors | mcastill66 | AIX | 2 | 08-02-2005 03:51 PM |
| Adapter Errors and Link Errors | mcastill66 | UNIX for Advanced & Expert Users | 0 | 08-02-2005 03:11 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Check my crontab for possible errors.
I'm posting the line I just added to my crontab because it's my first and I want to be sure it's doing what I'm intending it to do.
Code:
59 23 0 * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh Question: If I wish to direct error output, will the following work: Code:
59 23 0 * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh > 2>/export/<many_directories_later...>/scripts/error.log |
| Forum Sponsor | ||
|
|
|
|||
|
Oups,
you should remove a > before 2>/export/<many_directories_later...>/scripts/error.log ... so it will be Code:
59 23 * * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh 2>/export/<many_directories_later...>/scripts/error.log Code:
59 23 * * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh >/dev/null 2>/export/<many_directories_later...>/scripts/error.log |