Hi ,
can one makes nohup inside the crontab entry?
Inside a perl script also ?
Regards
Megh
Hi ,
can one makes nohup inside the crontab entry?
Inside a perl script also ?
Regards
Megh
You can use "nohup" in shell scripts which are run from cron. It is commonly used to start database engines for example.
#!/bin/ksh
nohup command_you_want_to run &
You need to create a script containing the nohup
Script example (/tmp/cronjob.sh):
nohup /tmp/jobs/startjob &
Crontab example:
15 8 * * * /tmp/cronjob.sh >>/tmp/cronjob.sh 2>&1