RE: problem of cron in cygwin xp, final solution!

2003-10-01 Thread Harig, Mark
> > Maybe such things should be added to Mark Harig's "cron_diagnose.sh"? > > > To make the life easier for the other followers: > > 1. Need to set the mode of cygwin1.dll > > > > $ chmod +x /bin/cygwin1.dll This is a more general problem than a problem with cron's many files. A sanity check f

Re: problem of cron in cygwin xp, final solution!

2003-09-30 Thread Andrew DeFaria
Chunyu Liu wrote: Igor, This link you gave me is the final solution. I experienced exactly the same problem as Andrew described. BTDT! Glad my troubles helped you get cron working. To make the life easier for the other followers: 1. Need to set the mode of cygwin1.dll $ chmod +x /bin/cygwin1.

To create a SYSTEM-owned bash prompt (RE: problem of cron in cygwin xp)

2003-09-30 Thread Hannu E K Nevalainen \(garbage mail\)
Feel free to include the attached script wherever it "fits". /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- UTC+01, DST -> UTC+02 -- --END OF MESSAGE-- sysbash Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http:

Re: problem of cron in cygwin xp, final solution!

2003-09-30 Thread Chunyu Liu
Igor, Thank you for giving me the final solution for this problem too. Yes. It works now. I appreciate all the help. Chunyu Igor Pechtchanski wrote: Chunyu, Just to close on the "at" issue. You were getting "invalid command" because you needed to put the time *before* the "/interactive". Anot

Re: problem of cron in cygwin xp, final solution!

2003-09-30 Thread Igor Pechtchanski
Chunyu, Just to close on the "at" issue. You were getting "invalid command" because you needed to put the time *before* the "/interactive". Another problem was that you needed to add the ".exe" to "bash". So, a command that just worked for me (from bash) was: at 14:51 /interactive 'c:\cygwin\b

Re: problem of cron in cygwin xp, final solution!

2003-09-30 Thread Chunyu Liu
Igor, This link you gave me is the final solution. I experienced exactly the same problem as Andrew described. To make the life easier for the other followers: 1. Need to set the mode of cygwin1.dll $ chmod +x /bin/cygwin1.dll 2. Need to create another directory $ mkdir /etc/cron.d Also make i

Re: problem of cron in cygwin xp

2003-09-30 Thread Igor Pechtchanski
Chunyu, Do you Google: ? As for the "at" problem, you need to escape the backslashes when you're running it from a bash shell. So, either use $ at /interactive 12:19 'c:\cygwin\bin\bash' --l

Re: problem of cron in cygwin xp

2003-09-30 Thread Chunyu Liu
Igor, This is a error in the application one: "The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag t

Re: problem of cron in cygwin xp

2003-09-30 Thread Igor Pechtchanski
Chunyu, The main part of the event is "cron : PID 3248 : `cron' service stopped.", so this is not quite what you're looking for. Are there other events from cron around that time in the event log? Did you look at the system log, or the application one? Google allows you to restrict the search t

Re: problem of cron in cygwin xp

2003-09-30 Thread Chunyu Liu
Igor, windows event log does contain something, but I can't understand them. "The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be abl

Re: problem of cron in cygwin xp

2003-09-30 Thread Igor Pechtchanski
Chunyu, Does the Windows event log contain any clues? Cron from the command line wouldn't start a service -- it'll start the application itself... Which should be enough to ascertain whether your crontab works. The instructions for getting a system-owned shell can easily be found by searching Go

Re: problem of cron in cygwin xp

2003-09-30 Thread Chunyu Liu
Igor, Thank you for the help. I tried to follow your instruction, but no luck to get it work. 1. cron_diagnosis.sh does not find any problem. 2. the cygcheck is attached. 3. The only error message I got is: $ cygrunsrv --start cron cygrunsrv: Error starting a service: QueryServiceStatus: Win32 e

Re: problem of cron in cygwin xp

2003-09-29 Thread Igor Pechtchanski
Chunyu, Please do not send Cygwin questions in personal mail unless specifically requested. All discussion of cygwin-related topics should happen on the Cygwin list unless specifically requested otherwise. One of the benefits is that the discussion ends up in the list archives. Another is that