vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ###################################### |
| ||||
| underh20.scubadiving@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. > > 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 > > ###################################### Hi, Why don't you check the cron.deny and cron.allow? |