public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Confused about several issues with setting up cron
@ 2013-09-22 13:10 KARR, DAVID
  2013-09-22 16:16 ` bartels
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: KARR, DAVID @ 2013-09-22 13:10 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-09-24 19:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-22 13:10 Confused about several issues with setting up cron KARR, DAVID
2013-09-22 16:16 ` bartels
2013-09-22 19:45   ` bartels
2013-09-23 14:51     ` Andrey Repin
2013-09-23 16:11       ` bartels
2013-09-23 19:00         ` Andrey Repin
2013-09-23 19:26           ` bartels
2013-09-24  5:10             ` bartels
2013-09-22 20:12   ` bartels
     [not found]     ` <B8D164BED956C5439875951895CB4B221145A863@WABOTH9MSGUSR8C.ITServices.sbc.com>
2013-09-24 17:28       ` KARR, DAVID
2013-09-24 17:42         ` bartels
     [not found]           ` <B8D164BED956C5439875951895CB4B221147AEF5@WABOTH9MSGUSR8C.ITServices.sbc.com>
2013-09-24 20:01             ` bartels
2013-09-23  1:41 ` Larry Hall (Cygwin)
2013-09-24 18:37 ` Steve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).