RE: Running perl script in cron in cygwin under Windows

2008-01-16 Thread Dave Korn
>> Cron works on other scripts but not with a perl script. If it's the >> environment (we are running korn instead of the bash default), it >> might be good to create a wrapper script in korn shell. perl often needs a rebaseall run to function at its best. >> Does cron use bash default profile

RE: Running perl script in cron in cygwin under Windows

2008-01-14 Thread David Christensen
Macalalad, Jun wrote: > Thanks David. > Thanks again for the help You're welcome. :-) Please help someone else if/when you have the chance. Please keep this thread on the Cygwin list so other people can find it (e.g. hit "Reply to All"). > Cron works on other scripts but not with a perl scri

RE: Running perl script in cron in cygwin under Windows

2008-01-14 Thread Dave Korn
On 14 January 2008 04:51, Macalalad, Jun wrote: > Any idea where I've done wrong please? Well, posting to the announcements list, for one. Omitting the slightest trace of any pertinent details for another. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscri

RE: Running perl script in cron in cygwin under Windows

2008-01-13 Thread David Christensen
Macalalad, Jun wrote: > I've been trying to run a perl script from cron in cygwin -- not > good. It runs when in a cygwin command prompt. Any idea where I've > done wrong please? Help? Do you have cron working? Verify it with a simple command, such as 'touch'. If that works, try a Perl one-li