WoodenToys.ie
New Member
Hi folks,
I'm trying to run a shell script via cron tab but it's not working. I have redirected stdout to a log file and have also redirected stderr to another logfile.
I can see the error and log files via ftp but I can't open them - I get ftp error 550 (file or directory doesn't exist)
The log files are not empty and from the log file size in bytes I can tell how far in the script it's getting before failing - however I can't open either the log file or the error file to see what's going wrong!
I can get the script to mail me both files before the failure point in the script and this works, but it doesn't work after the point in the script where it fails, so it's of no use... I need to see the error log file.
Can anyone help?
Thanks
I'm trying to run a shell script via cron tab but it's not working. I have redirected stdout to a log file and have also redirected stderr to another logfile.
I can see the error and log files via ftp but I can't open them - I get ftp error 550 (file or directory doesn't exist)
The log files are not empty and from the log file size in bytes I can tell how far in the script it's getting before failing - however I can't open either the log file or the error file to see what's going wrong!
I can get the script to mail me both files before the failure point in the script and this works, but it doesn't work after the point in the script where it fails, so it's of no use... I need to see the error log file.
Can anyone help?
Thanks