View Single Post

   
  #1 (permalink)  
Old 01-16-2008, 11:04 AM
underh20.scubadiving@gmail.com
 
Posts: n/a
Default Solaris 10 cron not running for one user - newbie question

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 on 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

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

Reply With Quote