Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: DimaYasny ; Forum: Shell Scripting and child forums
Forum: Shell Scripting Jan 5th, 2009
Replies: 7
Views: 2,150
Posted By DimaYasny
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
Solved: check for $1?
Views: 1,878
Posted By DimaYasny
first idea is to use "cut" with '/' as delimeter
Forum: Shell Scripting Jun 27th, 2008
Replies: 10
Solved: check for $1?
Views: 1,878
Posted By DimaYasny
just use "basename"
Forum: Shell Scripting Feb 14th, 2008
Replies: 2
Views: 1,012
Posted By DimaYasny
extrafiles2=$(ls *core* 2>/dev/null)

something like that?
Forum: Shell Scripting Jan 23rd, 2008
Replies: 14
Solved: crontab output
Views: 3,375
Posted By DimaYasny
try to direct output to a logfile, let's see what the error is
Forum: Shell Scripting Jan 23rd, 2008
Replies: 14
Solved: crontab output
Views: 3,375
Posted By DimaYasny
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
Solved: crontab output
Views: 3,375
Posted By DimaYasny
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
Solved: crontab output
Views: 3,375
Posted By DimaYasny
is the script executable?
Forum: Shell Scripting Jan 22nd, 2008
Replies: 14
Solved: crontab output
Views: 3,375
Posted By DimaYasny
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...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC