[Sunhelp] CRON
Chanaka Mendis
sunhelp at sunhelp.org
Tue Nov 14 21:07:08 CST 2000
Tope Songonuga wrote:
> I am having trouble running certain scripts via cron. I can run the same
> scripts interactively, but when I submit it via cron, it gives me error
> messages. My knowledge of Unix is not much, the environment details are:
> Sun Solaris 7, running Oracle 8.0.5.
>
> For example, I can run successfully, as the Oracle user, a shell script to
> do an Oracle import, submitting the same script via cron gives me error
> messages.
>
> Any ideas please.
>
> Regards.
>
> Tope
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
Hi,
Insert following line in the first line of your script (This is for born
shell). It should work.
#!/sbin/sh
If the problem is still there , Could you tell methe shell that you using to
execute tthe script.?
/Gayantha
More information about the SunHELP
mailing list