Forum: Shell Scripting Jan 5th, 2009 |
| Replies: 7 Views: 2,150 in the first attempt, you need to add a pipe ('|') between the cat command and the sed command |
Forum: Shell Scripting Jun 28th, 2008 |
| Replies: 10 Views: 1,878 first idea is to use "cut" with '/' as delimeter |
Forum: Shell Scripting Jun 27th, 2008 |
| Replies: 10 Views: 1,878 |
Forum: Shell Scripting Feb 14th, 2008 |
| Replies: 2 Views: 1,012 extrafiles2=$(ls *core* 2>/dev/null)
something like that? |
Forum: Shell Scripting Jan 23rd, 2008 |
| Replies: 14 Views: 3,375 try to direct output to a logfile, let's see what the error is |
Forum: Shell Scripting Jan 23rd, 2008 |
| Replies: 14 Views: 3,375 well it appears cron environment is not the same as the normal environment.
try to run the script with all absolute paths:
/usr/local/bin/perl /rishi/s-branch/perl1/perl/filecomp.pl |
Forum: Shell Scripting Jan 23rd, 2008 |
| Replies: 14 Views: 3,375 after some googling, seems like perl scripts have trouble running from crontab.
try to create a bash script which will launch the perl script, and make the bash script run from crontab |
Forum: Shell Scripting Jan 22nd, 2008 |
| Replies: 14 Views: 3,375 is the script executable? |
Forum: Shell Scripting Jan 22nd, 2008 |
| Replies: 14 Views: 3,375 don't think you're supposed to activate it by perl
the script has the interpretor line in it
change the crontab line to just the path to the script
also, is the script working when run from... |