10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi everyone,
I have set up a cron job and it ran as i have expected, however, i unable to determined whether it was executed by a regular user (rml5723 in this case) or by root. My intention was for it to run as root (notice the 's' bit set on the script), the script itself is owned by the... (11 Replies)
Discussion started by: rachael
11 Replies
2. Solaris
Hi
Please would it be right to log the errors from a script running in cron in the following manner:
/datax/vendor/dump.sh > /datax/vendor/err.log 2>&1 (16 Replies)
Discussion started by: fretagi
16 Replies
3. Solaris
I have noticed this error in /var/cron/log:
> CMD: /usr/lib/acct/ckpacct
> adm 6739 c Tue Oct 11 10:00:00 2011
< adm 6739 c Tue Oct 11 10:00:00 2011 rc=1
! bad user (adm) Tue Oct 11 11:00:00 2011but when I try to list crontab of user 'adm':
solarni/~# crontab -l adm
crontab: you are... (4 Replies)
Discussion started by: orange47
4 Replies
4. UNIX for Dummies Questions & Answers
Yesterday I was testing out some cron commands and when i was check the /var/log/cron with vi editor I accidentally did :wq instead. Since then the log has not updated and I'm assuming no cronjob is running because looking at the log there's activities everyday
there's some default stuff that... (5 Replies)
Discussion started by: orionoreo
5 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I'm wondering how to change the log level to level 2 for cron without manually have to restart it with every boot.
I didn't thing this would be hard to find, but searching has cause me to come up empty.
System is Ubuntu Karmic/9.10
With thanks,
Narnie (6 Replies)
Discussion started by: Narnie
6 Replies
6. Shell Programming and Scripting
I have a mac server. I have been having problems with my logs. My hard disk became full, when i researched into why it was full it was due to massive log files. There was barley any log rotation policies in place on the server. I tired to use logrotate. This doesn't work on my server. It is a MAC... (19 Replies)
Discussion started by: timgolding
19 Replies
7. UNIX for Dummies Questions & Answers
Cameron,
I have deleted the cron log file and create a new cron log file as the older was sucking up the disk space. now i have rescheduled the cron job but i dont see any logs on the newly created log file. I am confused what has happened. Can u help me out on this. (0 Replies)
Discussion started by: sanei05
0 Replies
8. AIX
Hi,
I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
Discussion started by: Keith Johnson
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am confused with the entries in my cron log, I'm not sure what exactly these commands are doing, any body can show me the way to get understanding of what these entries mean:> CMD: $TFADMIN /usr/lib/uucp/uudemon.poll > /dev/null
> CMD: $TFADMIN /usr/lib/uucp/uudemon.hour > /dev/null
> ... (1 Reply)
Discussion started by: nervous
1 Replies
10. Shell Programming and Scripting
Hi. I'm trying to output the current date to a cronjob log file. Nothing seems to work, echo $(date), echo `date` or just date in the script. I'm using /sbin/sh
Any ideas? Thanks, John (2 Replies)
Discussion started by: JohnH
2 Replies