This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron


Pierre A. Humblet wrote:

[snip]
> | On W2K3, if you expect a service to be able to switch user contexts, you
> | need a special service account.  You can use the 'sshd_server' account that
> | would be created for you if you configure 'sshd' and ask it to create the
> | account when it asks you.  See the "/usr/share/doc/Cygwin/openssh.README"
> | for details.
> 
> The above is correct, but later cron was switch to run as PolsonA

Wrong, the log just shows that the user edited his crontab (i.e. did a `crontab
-e`) which does a reload on exit.  Larry's diagnostic is right, cron shouldn't
be running as the user PolsonA.

> 2007/09/12 16:19:31 [PolsonA] cron: PID 1432: `cron' service started
> 2007/09/12 16:19:41 [PolsonA] crontab: PID 2844: (PolsonA) BEGIN EDIT (PolsonA)
> 2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) REPLACE (PolsonA)
> 2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) END EDIT (PolsonA)
> 2007/09/12 16:20:01 [PolsonA] /usr/sbin/cron: PID 2564: (PolsonA) RELOAD (tabs/PolsonA)
> and everything looks normal (cron reloaded the crontab).
> Did you wait long enough for the jobs to run?
> Please look at cron.log in the home directory of  PolsonA, and possibly at /tmp/*cron* files for 
> further output from the jobs.
-- 
Renà Berber


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]