Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-04 Thread Blair Sutton
c" or "-Command" for Windows shells. Typical usage is #SHELL=/cygdrive/c/WINDOWS/system32/CMD.exe #SHELLSWITCH=/c SHELL=/cygdrive/c/WINDOWS/system32/windowspowershell/v1.0/powershell.exe SHELLSWITCH=-Command * * * * * echo test 1 2 3 * * * * * ls c: * * * * * & &#x

Re: Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-05 Thread Blair Sutton
default. I'm not sure if I can do 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\win

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-05 Thread Blair Sutton
ther people may find it useful. Best regards Blair On 6/5/08, Pierre A. Humblet <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Blair Sutton" <> > To: > Sent: Wednesday, June 04, 2008 12:48 PM > Subject: Patch to allow Cron to use non-

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Blair Sutton
Thu, Jun 5, 2008 at 11:28 PM, 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 maintai

Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe

2008-06-06 Thread Blair Sutton
waste everyone's time with these half-baked workarounds. Still, I am sure you mean well. Please don't bother responding. Best wishes On Fri, Jun 6, 2008 at 5:19 PM, Pierre A. Humblet <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Blair Sutton" &