You are here
Rob - Thu, 2015/02/05 - 02:10
I've noticed that every 15 minutes, root is getting an email from cron indicating that whine.pl isn't found.
The crontab shows that it is attempting to run whine.pl (and the other cron tasks) are being run from /var/www/bugzilla/lib .
None of those scripts are in that directory.
Recommendations for repair in keeping with the TKL mentality? Copy the scripts into lib or change the tasks to run from /var/www/bugzilla ?
Rob
Forum:
I'd probably create a symlink
So leave the files where they are but put a symlink pointing to them. Then you won't need to adjust your cron job, but it should work. Also if the file gets updated at some point then you won't need to copy the new version across too (and it will keep working).
Linking would be correct...
Linking would be a very clean way to handle that.
Thanks for the advice - honestly, I'm ashamed I didn't think of it first.
Rob
Add new comment