Hello,
In testing a simple shell script to shutdown Oracle9i on my Solaris 8 system I find it runs fine from the command line as my oracle user. When I add it to a cron job via my oracle user account (via crontab -e) however, it does not run from cron.
My script:
#!/bin/sh
sqlplus /nolog @shutdown.sql
Note: the script sqlplus calls (shutdown.sql) is in the $HOME directory.
My cron entry in my account for oracle:
00 15 * * * $HOME/oracle.shutdown
What can you recommend?
Thanks,
Michael42
In testing a simple shell script to shutdown Oracle9i on my Solaris 8 system I find it runs fine from the command line as my oracle user. When I add it to a cron job via my oracle user account (via crontab -e) however, it does not run from cron.
My script:
#!/bin/sh
sqlplus /nolog @shutdown.sql
Note: the script sqlplus calls (shutdown.sql) is in the $HOME directory.
My cron entry in my account for oracle:
00 15 * * * $HOME/oracle.shutdown
What can you recommend?
Thanks,
Michael42