cron error: no job control
Hi,
I set up a Perl script to be run as a nightly cron job at 3:23 AM with the line Code:
23 03 * * * * cd /backup1/backup_adm/; perl backup.pl Code:
/bin/sh: fg: no job control How do I make these cron jobs run? Thanks, S. Chen |
I'd try creating a shell script to run your commands:
Code:
#!/bin/bash Code:
23 03 * * * * /backup1/backup_adm/myScript.sh > /backup1/backup_adm/logs/backup.log |
I wrote a shell script calling the Perl script and put it in my crontab file, and it worked. Thanks!
|
All times are GMT -5. The time now is 09:24 PM. |