Hi All,
Do apologise, for it has been a long while since I was last on the forum. I've been doing documentation and primiarily Windows efforts for some while now.
We are running a HP-UX 11.23 unit. This morning two separate crontab users executed shutdown scripts of their respective Oracle instance. The script worked (and so it should - I wrote it), however it was the crontab entries that has got me absolutely stumped as to why it ran. Sadly the boss is asking the very same question also.
The entries were as follows:
User#1:
45 2 25 05 0 nice ksh -c "/usr/local/bin/restart_md_v3.1.cron user1 MDAMER ORA stop" >> /usr1/log/user1/cronlog/restart_MDAMER.log 2>&1
..... which is 2:45am 25th May when a Sunday
User#2:
50 2 25 05 0 nice ksh -c "/usr/local/bin/restart_md_v3.1.cron user2 MDEMEA ORA stop" >> /usr1/log/user2/cronlog/restart_MDEMEA.log 2>&1
..... which is 2:50am 25th May when a Sunday
As you can see, neither of the two entries are for today, yet they ran !!
Would anyone have an idea on why these scripts executed or have seen something similar in their travels ???
Cheers,
Cameron