This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cron not working
- From: Stefan Schumacher <schumacher at idev dot de>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 10 Mar 2015 13:48:56 +0000
- Subject: Cron not working
- Authentication-results: sourceware.org; auth=none
Hello
I am trying to set up a cron job to run a script every 10 minutes. I
have installed cron via the installer and configured it with cron-config
to run as a system service.
Mar 10 14:11:33 stefan-PC cron: PID 3408: `cron' service started
This is stefan's crontab, generated with crontab -e.
*/10 * * * * /cygdrive/c/Users/stefan/copy_from_fileserver
According to /var/log/messages the cron job is executed correctly, but
no test file is generated in the directory. Calling copy_from_fileserver
from the command line works without complications and copies the
file from the server as it should.
Mar 10 14:40:01 stefan-PC /usr/sbin/cron: PID 2340: (stefan) CMD (/cygdrive/c/Users/stefan/copy_from_fileserver)
How can I get this working?
Yours
Stefan
--
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