Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: perl script in nohup running from crontabby hbm (Hermit) |
on Sep 22, 2011 at 14:44 UTC ( [id://927380]=note: print w/replies, xml ) | Need Help?? |
Any errors in /var/cron/log or wherever you system keeps them? If you can't view that log, add 2>&1 (or whatever is appropriate on your system) to redirect STDERR to your own log file. Your cron entry starts with "perl". Why, when you have #!/usr/bin/perl in your script? I'd also add #!/path/to/expect -f to the .tcl, to simplify your $cmd. And excessive pipe alert in your grep...
In Section
Seekers of Perl Wisdom
|
|