I can successfully execute a cron job that executes a script file that includes the shbang line #!/bin/ksh, but if instead I put all my commands within the cron job, I can't seem to switch from the sh (default shell) to ksh. What cmds do I need to add to the beginning of the cronjob? Something like ...
"set SHELL=/bin/ksh;" or "export $SHELL;" ... I can't seem to get the right combination!
"set SHELL=/bin/ksh;" or "export $SHELL;" ... I can't seem to get the right combination!