I experience the WebAccess bug where every week or so we experience the bug with WebAccess that prevents users from logging in and gives an "out of memory" error as the reason. Rather than having to wait for the error to occur I am trying to schedule crontab to restart web services nightly, except I can't figure out what I'm missing. I've added the following line to my cronttab file
0 3 * * * /etc/init.d/novell-tomcat6 restart
I'm hoping to get web services to restart at 3AM, but it isn't doing anything. What am I missing? Do I need to make a separate script file to call rather than just running the restart command from crontab? Am I putting this in the wrong place? I have other jobs that I put directly in the cron.daily and cron.hourly folders that run just fine and I'm sure that I'll have a facepalm to whatever it is that I'm missing on this one. Thanks!