SUMMARY: Strange cron behavoir

From: Adam Mazza <adam_at_68e.com>
Date: Mon Aug 04 2003 - 12:04:24 EDT
Sorry for the late follow-up on this. There were several suggestions, and
some people pointed me to ssh, in particular enabling ssh to use login in
the sshd.conf file.

Unfortunately this was an intermittent problem, and deleting the crontab
file and recreating it fixed it, for now.

I recieved ~13 vacation messages, for those that use unix based mail
readers I've attatched a procmail recipe that will prevent you from
responding with tour Out Of Office emails :)

#:0 Whc: vacation.lock
#     * !^FROM_DAEMON
#     * !^X-Loop: name@company.com
#     | formail -rD 8192 vacation.cache

#:0 ehc         # if the name was not in the cache
##     | (formail -rA"Precedence: junk" \
#        -A"X-Loop: name@vacation.com" ; \
#     cat $HOME/.vacation.message; \
#     echo ""; \
#     echo "-- "; cat $HOME/.signature \
#     ) | $SENDMAIL -oi -t

enjoy,

Adam Mazza


On Mon, 14 Jul 2003, Adam Mazza wrote:

> Hello,
>
> I am having a strange issue with cron, and was wondering if anyone has
> scene anything like this:
>
> A user has a crontab file setup to run various nightly jobs. The time in
> the file is as follows:
>
> 08 20 * * *  /foo/somejob
> 15 20 * * * /foo/somejob2
> 45 20 * * * /foo/somejob3
>
> This was enabled in cron many months ago, and has been working fine. On
> July 2nd we edited the file to comment out one of the jobs. All was fine,
> on July 7th we edited the crontab again, uncommented the job, and returned
> the crontab to it's original state. Now the job ran on the 8th, and the
> 9th. After that it hasn't run.(and nothing is in cron's logfile for the
> user or commands)
>
> Things I've checked: Cron is running and proccessing other jobs, I checked
> this cron's logfile. The user isn't in cron.deny, the account is still there
> and active. The machine doesn't appear to have been comprimised. There are
> no hidden characters in the crontab.
>
> Another odd thing is today while troubleshooting this the first job listed
> in the crontab file, but ran at 18:19:14 which is nowhere near the correct
> time.
>
> This is on a Solaris 8 02/02 machine with kernel patch 108528-18. If
> anyone has seen this before please let me know.
>
> Regards,
>
> Adam
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
>

Adam Mazza
PGP Key:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x382775D1
Key fingerprint = 5A82 FA7F 459C E805 6C00  3211 48AC 6069 3827 75D1
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Aug 4 12:08:14 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:17 EST