WOT: Scripting Question[Scanned]

Chris Bradford chrisbradford at cambridge-news.co.uk
Fri Jul 28 17:54:01 UTC 2006


Paul Lemmons wrote:
>
>
> Chris Bradford wrote:
>> Les Mikesell wrote:
>>> On Fri, 2006-07-28 at 06:04, Chris Bradford wrote:
>>>  
>>>>>> You are right there, I was hoping to 'reverse engineer' a Unix 
>>>>>> like command, but I'm not having much progress!
>>>>>>
>>>>>>         
>>>>> Why try to reverse engineer it? Why not just use the source?
>>>>>
>>>>>         
>>>> Its a windows box the command needs to run on.
>>>>     
>>>
>>> The Cygwin tools: http://www.cygwin.com will give you a
>>> bash and all the usual unix utility programs on a windows
>>> box. X too if you want it, but it isn't in the default
>>> install - you have to select it.
>>>
>>>   
>> Do you know if it is possible to schedule a task that is run from 
>> within cygwin under windows?
>>
>> The script works perfectly, I just need to schedule it hourly now!
>>
>> Thanks for your help,
>>
>> -Chris
>>
>>
>> This message has been scanned for viruses by BlackSpider MailControl 
>> - www.blackspider.com
>>
>
> Use the Windows task manager to schedule the job. Look in the Control 
> Panel
Yeah ok!

Task scheduler no problems figuring that out, I've been using windows 
for more then 5 minutes! :p

However, how can I call a cygwin command line and then execute the 
script? If I use the cygwin.bat (from the cygwin root) file and add the 
contents of the script to the file it doesn't execute the commands, it 
only loads the cygwin command line.

Thanks again guys,

-Chris





More information about the fedora-list mailing list