Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 10 cron not running for one user - newbie question

4 views
Skip to first unread message

underh20.s...@gmail.com

unread,
Dec 1, 2006, 2:25:38 PM12/1/06
to
A strange thing is happening at our Solaris 10 server. User A cannot
run cron. The cron syntax, commands, source and destination file
permissions all checked OK. No mail was generated after the scheduled
cron run. The temp file in /tmp could be copied to userA's home
directory at the command line though. However, for another user B
within the same group, the same cron job ran successfully. The temp
file was copied to user B's home directory. There was no mail generated
either.

I am very puzzled by this. Could anyone shed some light and help me
resolving this simple problem please ? Much appreciated, Bill


##########BAD######################
user A > crontab -l

51 13 * * 1-6 /export/home/userA/copy.ksh


user A > cat /export/home/userA/copy.ksh

#!/bin/ksh
/usr/bin/cp /tmp/temp /export/home/userA

####################################


##########GOOD######################
user B > crontab -l

51 13 * * 1-6 /export/home/userB/copy.ksh


user B > cat /export/home/userB/copy.ksh

#!/bin/ksh
/usr/bin/cp /tmp/temp /export/home/userB

######################################

Bill Marcum

unread,
Dec 1, 2006, 2:48:16 PM12/1/06
to
On 1 Dec 2006 11:25:38 -0800, underh20.s...@gmail.com
<underh20.s...@gmail.com> wrote:
> A strange thing is happening at our Solaris 10 server. User A cannot
> run cron. The cron syntax, commands, source and destination file
> permissions all checked OK. No mail was generated after the scheduled
> cron run. The temp file in /tmp could be copied to userA's home
> directory at the command line though. However, for another user B
> within the same group, the same cron job ran successfully. The temp
> file was copied to user B's home directory. There was no mail generated
> either.
>
Is there anything in /etc/cron.allow or /etc/cron.deny?

humphre...@gmail.com

unread,
Dec 1, 2006, 3:14:36 PM12/1/06
to
Hi Bill,

No. But we did look at /var/cron/log.
UserA's password has expired. We reset it and the cron is working
again.

Thanks,

0 new messages