Have you looked at using cron? That would be the unixy way of doing
things. But you can invoke bash and give it a script and some parameters
in your "sh.bat" file-
at 12:15 cmd /c "c:\bla\bla\sh.bat"
contents of sh.bat-
bash -i /cygdrive/c/bla/bla/MyScript parameter1 parameter2
(the -i makes
Won't this just run bash at 12:15?
What I want to do is run a script, "MyScript", within a bash environment at
12:15.
So, I want to emulate the following:
1. Start bash. .bashrc is executed and shell opens with a prompt.
2. At the prompt, run MyScript
Can this be done?
Thanks.
Scott
>==
2 matches
Mail list logo