* Mark J. Reed (Mon, 10 Aug 2009 08:46:11 -0400)
n Mon, Aug 10, 2009 at 8:15 AM, Thorsten Kampe wrote:
I upgraded to Windows 7 ...
I'll probably wait until 1.7 is out of beta and an official migration
document is
released.
OK, but why are you willing to upgrade to Windows 7 while
On Mon, Aug 10, 2009 at 9:29 AM, Thorsten Kampe wrote:
Only if you assume that Windows 7 is still in beta (which it is not).
It won't be released until October. The current version is a release
candidate. How is that different from being in beta? Regardless of
terminology, both Windows 7 and
* Mark J. Reed (Mon, 10 Aug 2009 09:35:06 -0400)
On Mon, Aug 10, 2009 at 9:29 AM, Thorsten Kampe wrote:
Only if you assume that Windows 7 is still in beta (which it is not).
It won't be released until October.
Make that it won't be available in the shops until October.
The current version
On Mon, Aug 10, 2009 at 10:28 AM, Thorsten Kampe wrote:
The current version is RTM - Released to manufacturing since last
Thursday.
Ah, missed that milestone. I retract the observation then.
--
Mark J. Reed markjr...@gmail.com
--
Problem reports: http://cygwin.com/problems.html
FAQ:
* Thorsten Kampe (Mon, 10 Aug 2009 16:28:30 +0200)
The current version is RTM - Released to manufacturing since last
Thursday.
Actually it's RTM for a month now. Available on Technet and MSDN since
last Thursday.
Thorsten
--
Problem reports: http://cygwin.com/problems.html
FAQ:
On Aug 10 14:15, Thorsten Kampe wrote:
* Corinna Vinschen (Mon, 10 Aug 2009 13:34:25 +0200)
On Aug 10 12:57, Thorsten Kampe wrote:
I upgraded to Windows 7 on Sunday and now whenever cron runs a job,
the new forked cron process is visible in a console window. I
suspect that this might
* Corinna Vinschen (Mon, 10 Aug 2009 16:38:54 +0200)
On Aug 10 14:15, Thorsten Kampe wrote:
* Corinna Vinschen (Mon, 10 Aug 2009 13:34:25 +0200)
On Aug 10 12:57, Thorsten Kampe wrote:
I upgraded to Windows 7 on Sunday and now whenever cron runs a job,
the new forked cron process
cron runs a job, the
new forked cron process is visible in a console window. I suspect that
this might be related to the new Console Window Host (conhost.exe) as
I also get this window when I run screen inside a shell.
Cygwin 1.5.25, I presume. Cygwin 1.5.25 is not supported under W7.
Use Cygwin
On Aug 10 18:31, Thorsten Kampe wrote:
* Corinna Vinschen (Mon, 10 Aug 2009 16:38:54 +0200)
On Aug 10 14:15, Thorsten Kampe wrote:
* Corinna Vinschen (Mon, 10 Aug 2009 13:34:25 +0200)
On Aug 10 12:57, Thorsten Kampe wrote:
I upgraded to Windows 7 on Sunday and now whenever cron runs
On 08/10/2009 12:44 PM, Corinna Vinschen wrote:
snip
And there's no way back after an update. But as I noted in my zillion
(apparently unread) test announcements, it's no problem to run 1.5 and
1.7 installations in separate directories side-by-side.
I don't know about anyone else, but I
On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote:
On 08/10/2009 12:44 PM, Corinna Vinschen wrote:
snip
And there's no way back after an update. But as I noted in my zillion
(apparently unread) test announcements, it's no problem to run 1.5 and
1.7 installations in separate
Christopher Faylor wrote:
On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote:
On 08/10/2009 12:44 PM, Corinna Vinschen wrote:
snip
And there's no way back after an update. But as I noted in my zillion
(apparently unread) test announcements, it's no problem to run 1.5 and
On 08/10/2009 04:07 PM, Ralph Hempel wrote:
Christopher Faylor wrote:
On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote:
On 08/10/2009 12:44 PM, Corinna Vinschen wrote:
snip
And there's no way back after an update. But as I noted in my zillion
(apparently unread) test
On Mon, Aug 10, 2009 at 04:44:09PM -0400, Larry Hall (Cygwin) wrote:
On 08/10/2009 04:07 PM, Ralph Hempel wrote:
Christopher Faylor wrote:
On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote:
On 08/10/2009 12:44 PM, Corinna Vinschen wrote:
snip
And there's no way back after
On Mon, Aug 10, 2009 at 5:17 PM, Christopher Faylor wrote:
Actually, I meant Cgywin 1.7. Sorry for the cornfusion.
cgf apologizes! In writing! Alert the media!
:)
--
Mark J. Reed markjr...@gmail.com
--
Problem reports: http://cygwin.com/problems.html
FAQ:
On 08/08/2009 11:29 PM, michael trott wrote:
I had already set Cron to run as my service from within Cygwin, and
also under services.msc Cron is running as me.
Are they the only two area's it need to me set?
You want to re-run 'cron-config' specifying that you want to run the
service as your
hi all,
sure uve heard it all before. trying to get cron to backup my system
to a samba share thats mounted to a local drive. i can run the script
and back up fine. This is my crontab:
mich...@home-pc ~
$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab
2009/8/8 michael trott:
sure uve heard it all before. trying to get cron to backup my system
to a samba share thats mounted to a local drive. i can run the script
and back up fine. This is my crontab:
Try the same as user SYSTEM and not as your local user and you will
get the same error
I had already set Cron to run as my service from within Cygwin, and
also under services.msc Cron is running as me.
Are they the only two area's it need to me set?
thanks, i really appreciate it :)
On Sun, Aug 9, 2009 at 7:12 AM, Reini Urbanrur...@x-ray.at wrote:
2009/8/8 michael trott:
sure
Hi,
We are seeing intermittent cron errors on some of our servers. We run about
a couple of hundred jobs on these servers, and about 5% of them fail with
the error can't switch user context). We enabled verbose logging, and in
/var/log/cron.log see messages that say cannot set uid for user
- Original Message -
From: Rajiv Garg
To: cygwin
Sent: Wednesday, July 08, 2009 1:14 PM
|
| Hi,
|
| We are seeing intermittent cron errors on some of our servers. We run about
| a couple of hundred jobs on these servers, and about 5% of them fail with
| the error can't switch user
Pierre,
Thanks for your reply.
Yes, both the job and service are running under the same account (orderworker).
I was looking into this a bit more, and found that we are getting the
following event in our security event log at the exact time of the cron can't
switch user context error
- Original Message -
From: Rajiv Garg
To: Pierre A. Humblet
Sent: Wednesday, July 08, 2009 5:47 PM
Subject: Re: Intermittent Cron Errors
|
| Pierre,
|
| Thanks for your reply.
|
| Yes, both the job and service are running under the same account
(orderworker). I was looking
Compiled and ran -- here's the output:
$/tmp/testcron.exe
name orderworker uid 11130 gid 10513
0
256
512
768
1024
1280
1536
1792
2048
2304
2560
I killed it at this point. No initgroups() or setuid() failures in 2500 tries.
Let me know your thoughts.
Rajiv
--
Problem reports:
.
If you end up bypassing the call to setuid when the uids match,
please log the non-zero return value of initgroups (in the interest
of science).
You can look at the cron events by typing cronevents in a shell.
Let me know if you need more help.
Pierre
--
Problem reports: http
- Original Message -
From: sam naqvi
To: cygwin@cygwin.com
Sent: Tuesday, June 09, 2009 11:48 AM
|i had setup some cron jobs on cygwin last Friday. a few of them were test
scripts to see if the
cron is firing smoothly on the right time without errors. And there were some
actual
--- On Tue, 6/9/09, Pierre A. Humblet pierre.humb...@ieee.org wrote:
From: Pierre A. Humblet pierre.humb...@ieee.org
Subject: Re: Cron jobs stopped working : can't lock cron.pid .. Resouce
temporarily unavailable
To: sam naqvi email_...@yahoo.com, cygwin@cygwin.com
Date: Tuesday, June 9
- Original Message -
From: LAU2
To: cygwin@cygwin.com
Sent: Thursday, April 23, 2009 7:53 PM
Subject: Re: Similar Cron issue--Cron wont do anything
|
| Pierre A. Humblet wrote:
|
|
| - Original Message -
| From: LAU2
| To: cygwin@cygwin.com
| Sent: Thursday, April 23
- Original Message -
From: LAU2
To: cygwin@cygwin.com
Sent: Wednesday, April 22, 2009 6:04 PM
|
| Hi I have been having similar problems with running cron on through cygwin.
|
| Here is what I have done so far:
|
| 1) created a simple shell file create_new_dir.sh
|
snip|
| 5
Pierre A. Humblet wrote:
- Original Message -
From: LAU2
To: cygwin@cygwin.com
Sent: Wednesday, April 22, 2009 6:04 PM
|
| Hi I have been having similar problems with running cron on through
cygwin.
|
| Here is what I have done so far:
|
| 1) created a simple
LAU2 wrote:
Pierre A. Humblet wrote:
- Original Message -
From: LAU2
To: cygwin@cygwin.com
Sent: Wednesday, April 22, 2009 6:04 PM
|
| Hi I have been having similar problems with running cron on through
cygwin.
|
| Here is what I have done so far:
|
| 1
- Original Message -
From: LAU2
To: cygwin@cygwin.com
Sent: Thursday, April 23, 2009 10:39 AM
Subject: Re: Similar Cron issue--Cron wont do anything
| Pierre A. Humblet wrote:
| - Original Message -
| From: LAU2
| To: cygwin@cygwin.com
| Sent: Wednesday, April 22, 2009 6
|
|
| |
| | Hi I have been having similar problems with running cron on through
| cygwin.
| |
| | Here is what I have done so far:
| |
| | 1) created a simple shell file create_new_dir.sh
| |
| snip|
| | 5) checked the /var/log/cron and here is what it said
| |
| | unable to set groups
: Wednesday, April 22, 2009 6:04 PM
|
|
| |
| | Hi I have been having similar problems with running cron on through
| cygwin.
| |
| | Here is what I have done so far:
| |
| | 1) created a simple shell file create_new_dir.sh
| |
| snip|
| | 5) checked the /var/log/cron
does take more than one minute to be effective. Once I changed
it to * * * * *,
I saw an error message in /var/log/messages saying (CRON) error (can't cd to
HOME), which is
the second problem. For the record, my cygwin auto-generated /etc/passwd shows
my home dir to be
/cygdrive/h, which is an NT
Hi I have been having similar problems with running cron on through cygwin.
Here is what I have done so far:
1) created a simple shell file create_new_dir.sh
#!/bin/sh
echo test
mkdir /home/landon/scripts/HIPPO
2) ran shell in command prompt and it worked perfectly.
3) created a text file
I'd like to report a bug with Vixie cron. I have cygwin installed with cron
option. And I ran cron-config and set up everything. Cron-diagnose script
didn't find any problem. Cron service was also started without problem.
However, cron just wouldn't run the simple command I set up
- Original Message -
From: Ting Zhou
To: cygwin@cygwin.com
I'd like to report a bug with Vixie cron. I have cygwin installed with cron
option. And I ran
cron-config and set up everything. Cron-diagnose script didn't find any
problem. Cron service
was also started without problem
Did you check that your cron job line is formatted correctly? If your
line is literally of the form
/usr/bin/touch /tmp/abcd
then it definitely won't run because it is incorrectly written.
William Sutton
On Tue, 21 Apr 2009, Pierre A. Humblet wrote:
- Original Message -
From
-Original Message-
From: William Sutton [mailto:will...@trilug.org]
Sent: Tuesday, April 21, 2009 10:26 AM
To: Pierre A. Humblet
Cc: Ting Zhou; cygwin@cygwin.com
Subject: Re: cron does not do anything
Did you check that your cron job line is formatted correctly? If your
line
all along.
Let me know if I can supply further diagnostic information.
**
Right, cron does nothing. But ...
The job is supposed to run at 19:28 every day
You started cron at 19:26:30, it's not clear if the crontab existed then.
You edited the crontab at 19:27:19
When 19:28 came, cron
an error message in /var/log/messages
saying (CRON) error (can't cd to HOME), which is the second problem. For the
record, my cygwin auto-generated /etc/passwd shows my home dir to be
/cygdrive/h, which is an NT mounted share - not sure why is it set to that
and why cron couldn't cd to it. Anyway, I
Ting Zhou wrote:
The first problem, yes, I was a bit impatient and should've waited one
more minute. It seems crontab change does take more than one minute to be
effective. Once I changed it to * * * * *, I saw an error message in
/var/log/messages saying (CRON) error (can't cd to HOME), which
Hi All,
I have written a simple vbscript. Its purpose is to convert an excel
.xls file to .csv.
The script runs fine under Cygwin.
cscript xls2csv.vbs myexcel.xls myexcel.xls
I am trying to get the script to be run every night by setting up a cron
job. I have the cron service running and ive
On Feb 5 14:45, Pierre A. Humblet wrote:
http://mysite.verizon.net/phumblet/cron-4.1-57/setup.hint
http://mysite.verizon.net/phumblet/cron-4.1-57/cron-4.1-57.tar.bz2
http://mysite.verizon.net/phumblet/cron-4.1-57/cron-4.1-57-src.tar.bz2
Uploaded.
Thanks,
Corinna
--
Corinna Vinschen
Here is a version of cron for Cygwin 1.7
http://mysite.verizon.net/phumblet/cron-4.1-57/setup.hint
http://mysite.verizon.net/phumblet/cron-4.1-57/cron-4.1-57.tar.bz2
http://mysite.verizon.net/phumblet/cron-4.1-57/cron-4.1-57-src.tar.bz2
Pierre
- Original Message -
From: Robert Pendell
To: cygwin
Sent: Thursday, December 11, 2008 12:24 AM
Subject: cron_diagnose reporting errors while using cron-config
| While running cron-config I chose to run as a privileged user. Here
| is the output from the script.
snip
||
| Can I
On Thu, Dec 11, 2008 at 4:31 AM, Pierre A. Humblet
pierre.humb...@ieee.org wrote:
- Original Message -
From: Robert Pendell
To: cygwin
Sent: Thursday, December 11, 2008 12:24 AM
Subject: cron_diagnose reporting errors while using cron-config
| While running cron-config I chose
While running cron-config I chose to run as a privileged user. Here
is the output from the script.
$ cron-config
Do you want to install the cron daemon as a service? (yes/no) yes
Enter the value of CYGWIN for the daemon: [ntsec smbntsec] ntsec smbntsec
The service can run either as yourself
On Wed, Dec 03, 2008 at 01:06:28PM -0500, Pierre A. Humblet wrote:
Please upload cron-4.1-7 and delete the oldest version
http://mysite.verizon.net/phumblet/cron-4.1-7/cron-4.1-7.tar.bz2
http://mysite.verizon.net/phumblet/cron-4.1-7/cron-4.1-7-src.tar.bz2
Uploaded.
cgf
I recently upgraded cygwin (current version info at end of email) from a
fairly old version ( at least 3 years old...) and have run into this
problem:
I have a cron job, that runs a scrip on a SAMBA mount. The script writes
to the SAMBA mount, here is a bit of the script:
-- Script Cut
- Original Message -
From: Jim Kogler
To: cygwin
Sent: Tuesday, November 25, 2008 4:42 PM
Subject: Problem with Cron and Permissions...
|I recently upgraded cygwin (current version info at end of email) from a
| fairly old version ( at least 3 years old...) and have run
Hi,
I've installed cygwin and I'm very pleased with it. Now I want to use
cron to run some kind of backup script where I need the possibilities
of a real shell (not DOS). After installing cron and ssmtp I first got
e-mails from cron. It seems to run, but since I've started cron as a
service
- Original Message -
From: Jörg Schreiber
To: cygwin@cygwin.com
Sent: Monday, October 20, 2008 11:31 AM
Subject: Problems with cron
Hi,
I've installed cygwin and I'm very pleased with it. Now I want to use
cron to run some kind of backup script where I need the possibilities
of a real
- Original Message -
From: Senthil Kuppusamy
To: cygwin@cygwin.com
Sent: Tuesday, September 23, 2008 6:31 AM
Subject: Cron error
| Hi,
|
| Attached is the cronbug.txt. Please let me know what i am missing in
| starting the crontab
The good news is that there are no errors. cron
On Tue, Sep 9, 2008 at 6:26 PM, Larry Hall (Cygwin) wrote:
Try running the mailer script through 'd2u'. If that doesn't work,
it suggests a difference in the environment for the cron service
versus your interactive shell. Any chance you have another, Win32-
native date hanging around
The poor man's mailer included as part of the cron package uses the
following construct to generate part of the filename used in making
log file names:
DATE=$(date '+%Y%m%d_%H%M%S')
It then generates the filename as:
FILE=/tmp/cron.$DATE.$$.log
However, it seems to be tacking on a CR character
Linus Hicks wrote:
The poor man's mailer included as part of the cron package uses the
following construct to generate part of the filename used in making
log file names:
DATE=$(date '+%Y%m%d_%H%M%S')
It then generates the filename as:
FILE=/tmp/cron.$DATE.$$.log
However, it seems
Hi,
the bug is :
2008/09/08 06:00:02 [SYSTEM] /usr/sbin/cron: PID 4032: (CRON) error
(can't switch user context)
the problem is about cron-config under windows vista which install the
cron service under the SYSTEM account instead od cyg_server account.
uname -a is :
CYGWIN_NT-5.1
Cyrille Lefevre a écrit :
Hi,
the bug is :
2008/09/08 06:00:02 [SYSTEM] /usr/sbin/cron: PID 4032: (CRON) error
(can't switch user context)
the problem is about cron-config under windows vista which install the
cron service under the SYSTEM account instead od cyg_server account.
uname
The windows sort command was definitely the problem. I had not set a
PATH for cron so it was using the default PATH. When I set a PATH in the
crontab it resolved the issue. One thing I'm not quite sure of is why
didn't it work properly from cron when I specified the full path to sort
in the script
Hi all,
I've searched a bit already, and have been through the cron, ssmtp,
and crontab manpages. Still, there is something that I don't quite
understand: why on earth the cron job's output are put in e-mails??
I don't have any experience with the mailing subsystem of unix /
cygwin worlds, so
Julio Emanuel wrote:
I've searched a bit already, and have been through the cron, ssmtp,
and crontab manpages. Still, there is something that I don't quite
understand: why on earth the cron job's output are put in e-mails??
cron was written with the intention of being able to run jobs
On 2008-07-21, Julio Emanuel [EMAIL PROTECTED] wrote:
Hi all,
I've searched a bit already, and have been through the cron, ssmtp,
and crontab manpages. Still, there is something that I don't quite
understand: why on earth the cron job's output are put in e-mails??
Lucky you !! I'm finding
Hi All,
I've a problem with a script and I've been trying to troubleshoot it.
When I run it by hand it works fine but it fails from cron. From what i
can gather it doesn't like my while loop and the error I'm logging is
The system cannot find the file specified. Here are the particulars
On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning [EMAIL PROTECTED] wrote:
+ sort -u
-uThe system cannot find the file specified.
That message is coming from the Windows SORT command, not the Cygwin
one. Check cron's $PATH - it must have the Windows system dir near the
front.
--
Mark J. Reed
On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote:
On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning email address here wrote:
Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry.
--
Mark J. Reed [EMAIL PROTECTED]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports:
On Mon, Jul 21, 2008 at 05:27:38PM -0400, Mark J. Reed wrote:
On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote:
On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning email address here wrote:
Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry.
Sorry won't cut it. We've unleashed the hippos on you.
cgf
2008/7/20 r:
I've a problem with cron, it does not send email
when the job is done.
Very good! I'm seeing improvement following
http://www.faqs.org/rfcs/rfc1855.html Netiquette
Esp. Mail should have a subject heading which reflects the content of
the message.
I read /usr/share/doc/Cygwin
Reini Urban rurban at x-ray.at writes:
2008/7/20 r:
I've a problem with cron, it does not send email
when the job is done.
Very good! I'm seeing improvement following
http://www.faqs.org/rfcs/rfc1855.html Netiquette
Esp. Mail should have a subject heading which reflects the content
Hello,
I have setup Cygwin and cron on two machines.
On the first machine, a Windows XP, everything went OK. Cron is running and my
echo statement is being written to a file.
On the second machine, a Windows Vista, cron appears to be running correctly
but my echo statement
I'm trying to use cron, I created a file called backup_cygwin
59 18 * * 6 /bin/backup_cygwin.sh
00 27 20 7 * /bin/prova.sh
and I put it in /var/cron/tabs/
then I create prova.sh as follow
SHELL=/bin/sh
I'm trying to use cron, I created a file called backup_cygwin
59 18 * * 6 /bin/backup_cygwin.sh
00 27 20 7 * /bin/prova.sh
and I put it in /var/cron/tabs/
Rather than putting putting it in a directory, it's better to let
the crontab command do it. Put those two lines
r wrote:
I'm trying to use cron, I created a file called backup_cygwin
59 18 * * 6 /bin/backup_cygwin.sh
00 27 20 7 * /bin/prova.sh
and I put it in /var/cron/tabs/
Wrong place!
then I create prova.sh as follow
Wrong sequence... first create the script, then install it in cron.
SHELL
to be exec
great
Just a last question, I started cron manually with
cron-config, do you know how can I configure it
to start automatically when windows starts ?
Does cron starts in background even if I have not cygwin consolle
opened ?
bfr
--
Unsubscribe info: http://cygwin.com/ml
René Berber r.berber at computer.org writes:
I started cron ( with cron-config command, ( is it possible
to configure it to start at win boot ? ))
Cron-config did that.
so I did once and from next time it will be started at boot
time ? Because I did not find this information everywhere
r wrote:
I started cron ( with cron-config command, ( is it possible
to configure it to start at win boot ? ))
Cron-config did that.
so I did once and from next time it will be started at boot
time ? Because I did not find this information everywhere.
Yes it will start at boot time
Kevin M wrote on 03 July 2008 18:31:
[ snip masses of quotes]
--
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/
this.
The description for Event ID ( 0 ) in Source ( /usr/sbin/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 to retrieve this description; see Help and
Support
this.
The description for Event ID ( 0 ) in Source ( /usr/sbin/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 to retrieve this description; see
Help
- Original Message -
From: Kevin M
To: cygwin
Sent: Thursday, July 03, 2008 1:31 PM
Subject: Re: CRON can't cd to HOME
| radski has brought this to us :
| Pierre,
|
| fantastic help, can't thank you enough - I didn't realize you could
| explicitly set HOME in the crontab - adding
Hello,
I'm trying to CRON, but I'm receiving error in the windows log saying it
can't cd to HOME; yet cron_diagnose.sh completes without any errors. There
doesn't seem to be much reference to this error out there, I've tried moving
home from outside of the cygwin directory to inside and changed
HOME can be specified in the crontab, else it is taken from /etc/passwd
You may have access issues if HOME is on a network drive.
If so, consider creating a different HOME on a local disk, or running cron as
yourself.
Pierre
- Original Message -
From: radski [EMAIL PROTECTED
( /usr/sbin/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 to retrieve this description; see Help and
Support for details. The following information
A couple of places in /usr/bin/cron-config (cron version 4.1-6) are
missing quotation marks around variables in tests, resulting in errors
when the username contains spaces.
Example errors:
Do you want to install the cron daemon as a service? (yes
[EMAIL PROTECTED] wrote:
Hello,
I have a script that runs fine from the command line,
but I can not make CRON automate the running of this script
This sounds like the classic example of a script that has external
environment requirements that aren't met by the script itself. Are
you sure
the script 'datewrite.sh' from the command line with no problems. I
can see that the service 'cron' is installed and working in XP and that the
service kicks off every minute...
however, there is never any output from the script to the output file
'datetime.txt'
ps -a shows cron running, logs
0-59 * * * * cygdrive/c/cygwin/home/bruceb/datewrite.sh /dev/null 21
Isn't there a '/' missing before cygdrive...
br,
Nicholas
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
On further investigation, it appears powershell does alias -c for
-command hence no changes would be required for cron to support it.
However, the change would still be useful for other shells or perhaps
interpreters like Perl.
On Pierre's offered solution: I now do recall how exec works
On Fri, Jun 06, 2008 at 09:16:41AM +0100, Blair Sutton wrote:
On further investigation, it appears powershell does alias -c for
-command hence no changes would be required for cron to support it.
However, the change would still be useful for other shells or perhaps
interpreters like Perl
- Original Message -
From: Blair Sutton
To: cygwin
Sent: Friday, June 06, 2008 4:16 AM
Subject: Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe
and CMD.exe
| On further investigation, it appears powershell does alias -c for
| -command hence no changes would
Christopher Faylor wrote:
Mr. Vixie rightly assumed that cron was running in a UNIX-like
environment where shells take the -c option. Ditto the authors of
make, vim, and other packages which use the SHELL environment
variable.
Can we please put this to rest now
Subject: Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe
and CMD.exe
| On further investigation, it appears powershell does alias -c for
| -command hence no changes would be required for cron to support it.
| However, the change would still be useful for other shells
what you want.
And what's wrong with doing this with what cron already provides:
* * * * * /cygdrive/c/windows/system32/windowspowershell/v1.0/powershell -
Command 'c:\documents and settings\blair sutton\my
documents\windowspowershell\test\test.ps1 one two three'
This doesn't work. Have you
. I'm not sure if I can do what you want.
---
I'm not sure how it would send a duplicate...but I don't use
gmail. But's that's no reason why you shouldn't hack into Google's
mail servers and fix the problem..*cough*:-)
And what's wrong with doing this with what cron already
- Original Message -
From: Blair Sutton
To: cygwin
Sent: Wednesday, June 04, 2008 12:48 PM
Subject: Patch to allow Cron to use non-POSIX shells like Powershell.exe and
CMD.exe
| Hi
|
| This is a very simple patch for Cron to allow one to use a shell like
| powershell or cmd. I've
I'm not sure if that's a very good solution. It spawns an unnecessary
bourne shell process on each new cron job.
Don't worry if you don't want to make the change. I will maintain my
own separate branch and perhaps post the patch with some instructions
somewhere online where other people may find
just me.
On 6/5/08, Blair Sutton [EMAIL PROTECTED] wrote:
I'm not sure if that's a very good solution. It spawns an unnecessary
bourne shell process on each new cron job.
Don't worry if you don't want to make the change. I will maintain my
own separate branch and perhaps post the patch
On Thu, Jun 05, 2008 at 06:43:25PM -0400, Mark J. Reed wrote:
The sh process is not extra since it's replaced by the powershell
process, right? Unless exec works differently in Cygwin, which is
entirely possible
Nope, you're right. It is replaced as long as it isn't the top-level
cygwin
On Thu, Jun 05, 2008 at 12:47:42PM -0700, Linda Walsh wrote:
Blair Sutton wrote:
Eric Blake [EMAIL PROTECTED] writes:
Why should we patch a cygwin utility to promote the use of a non-cygwin
shell?
None of the shells are 'cygwin', really, -- they are shells that took
their ideas from
301 - 400 of 1486 matches
Mail list logo