Confused about several issues with setting up cron

KARR, DAVID dk068x@att.com
Sun Sep 22 13:10:00 GMT 2013


CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin

I want to set up a cron job, so I have to get cron configured.  I'm trying to follow the instructions I can find, but I'm seeing several issues.

I'm surprised that there's nothing in the user guide or the FAQ about setting up cron.  I had to settle for the various questions about this on StackOverflow and others.

I must have done something at least half correct, because I believe this tells me that cron is running:

% cygrunsrv -L
cron

% cronevents
2013/09/20 21:14:06 [dk068x] crontab: PID 5924: (dk068x) LIST (dk068x)
2013/09/21 11:28:15 [dk068x] /usr/sbin/cron: PID 4980: (CRON) STARTUP (V5.0)
2013/09/21 11:28:16 [dk068x] cron: PID 8424: `cron' service started

However, I then do "crontab <pathtomycrontabfile>", where "pathtomycrontabfile" is the path to my crontab file with the job I want to run.  I then do "crontab -l" and it prints nothing.  There is nothing in "/var/log/cron*".

I did get some errors when I ran "cron-config", but I unfortunately lost that output.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list