exharrison
2[H]4U
- Joined
- May 24, 2001
- Messages
- 2,956
I hope I put this where it belongs as I figure the more experienced Unix users would know this.
Anyway, I have a set of log files and I wrote a script to go through and pull out information from these. The script then uses sendmail to send it to a specified address. The script does all this.
However, I have to run this on a schedule, so I set up cron. Only problem is the script won't read or write to any files when run through cron. Any suggestions?
This is a perl script by the way.
Anyway, I have a set of log files and I wrote a script to go through and pull out information from these. The script then uses sendmail to send it to a specified address. The script does all this.
However, I have to run this on a schedule, so I set up cron. Only problem is the script won't read or write to any files when run through cron. Any suggestions?
This is a perl script by the way.