chicken: (Default)
[personal profile] chicken
Hello to any *nix geeks on my friends list.

Does anyone know how to figure out why a cron job isn't running? Is there a log somewhere that acts as STDERR for cron?

Is there something I forgot? That is, all I did was 'crontab -e' and then save it, which I thought was all, but did I need to use '/etc/init.d/cron stop | start' in order for the daemon to read in the new job? That seems unlikely, especially since I don't have 'sudo' or 'root' on the machine in question anyway. If there is no Log for cron's errors, then is there a checking routine I can run to test my syntax? Similar to the way you can run 'apachectl configtest'? I made sure that to set 'u+x' on the '~myHomeDir/bin/executable.bash' file which my cron calls, and made sure the crontab line lists *my* userid as the owner of the process. I cannot think what else to do. Here is the gist of my crontab entry:

30 0 * * * cmah /home/cmah/bin/run-webalizer.bash

Of course I checked and ran the bash script by hand to make sure it works. And I hope that the '30 0 * * *' means that I want to run the cron job every day at 00:30:00 (30 minutes after midnight).

(no subject)

Date: 2004-01-10 06:56 am (UTC)
From: [identity profile] paulv.livejournal.com
I trust the irony of switching to MS Exchange for security reasons isn't lost on you. :)

It's funny, though, because a few months ago we installed a postfix machine in front of an Exchange server because they didn't want the Windows machine on the internet.

(no subject)

Date: 2004-01-10 07:36 am (UTC)
From: [identity profile] chicken-cem.livejournal.com
I trust the irony of switching to MS Exchange for security reasons isn't lost on you. :)

Well, duh! :-) Hence my mentioning it.

I really do not understand the mindset of these MS fans -- do they not see what is right in front of their faces? And all that crap about how MS products are cheaper, when in fact the amount of money one spends on tech support, bug fixing, security patching, etc. etc. etc. far outweighs the initial cost benefit, if there is one at all.

Profile

chicken: (Default)
chicken

April 2009

S M T W T F S
   1234
56 78 9 1011
12131415161718
192021 22232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags