- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Does Crontab have a log?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 04:01 AM
11-10-2000 04:01 AM
Does Crontab have a log?
thanks
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 04:04 AM
11-10-2000 04:04 AM
Re: Does Crontab have a log?
If anything from a cron job comes to stdout or stderr you get a mail for root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 04:06 AM
11-10-2000 04:06 AM
Re: Does Crontab have a log?
/var/adm/cron/log
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 04:08 AM
11-10-2000 04:08 AM
Re: Does Crontab have a log?
Cron log is on /usr/lib/cron/log
Unless you use redirection of standard output and error on your cron
1 * * * * * command > /tmp/log 2>&1
all output is redirected to users mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 04:18 AM
11-10-2000 04:18 AM
Re: Does Crontab have a log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 07:35 AM
11-10-2000 07:35 AM
Re: Does Crontab have a log?
/var/adm/cron/log
- fnhalili
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 11:58 PM
11-13-2000 11:58 PM
Re: Does Crontab have a log?
All cron jobs are logged to /var/adm/cron/log, unless they are specifically redirected both dtdin and stderr. (like in >/tmp/mylog 2>&1)
In other words, all character stream that would normally show up on a terminal if the job was run manually, will be in that logfile.
Dan
Dan
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 06:29 AM
02-09-2001 06:29 AM
Re: Does Crontab have a log?
Have fun!
Josee