Hi, I seem to have a problem with crontab. I am running CentOS 5.5. If I add my bakup scripts into crontab they take very long to run. If I run my scripts manually they run 100%. I have also tried vixiecron, same issue. Any ideas? Thanks Jenny -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20101005/5c925bbc/attachment-0002.html>
Hi, Did you use full paths to your executables in your script? If you run an script from crontab, you could have other/missing enviroment variables. Best regards, Joost On Tue, 5 Oct 2010 10:04:18 +0200, "Jennifer Botten" <jennifer at etech.co.za> wrote:> Hi, > > I seem to have a problem with crontab. I am running CentOS 5.5. If I > add my bakup scripts into crontab they take very long to run. If I run > my scripts manually they run 100%. I have also tried vixiecron, same > issue. Any ideas? > > Thanks > > Jenny
From: Jennifer Botten <jennifer at etech.co.za>>I seem to have a problem with crontab. I am running CentOS 5.5. If I add my >bakup scripts into crontab they take very long to run. If I run my scripts >manually they run 100%. I have also tried vixiecron, same issue. Any ideas?Did you check if they both have the same nice level when they run? is anything else running at the time of the cron? JD