in reply to file open problem with scheduled jobs
You can probably easily see the reasons for failure by using the standard:
Of course you should appropriately change the '>' if you are doing other file operations. Any STDERR from cron jobs should be automatically sent to the cron owners email, and that should tell most of the story.my $filename = 'somefile'; open HANDLE, '>', $filename or die "couldnt open $filename for writing $!";
|
|---|