This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I run a script?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to BB on 1/13/2008 5:41 PM:
| can login to a shell from windows and run commands but how do I create a
script

A script is just a file containing the commands that you would have run
from the shell, optionally prefixed by something like a #!/bin/sh line to
specify the intepreter of those commands.

Perhaps your real question was how you can automate the running of such a
script without user intervention?  If so, why not ask that in the first
place?  At any rate, cron serves as a nice package to automate the running
of arbitrary scripts at set times.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi2U984KuGfSFAYARAqtfAKDYoIa17mJsGBs+jw+rkj9FKudLJACgv8X1
ORx5BEBiJtcRX48DKj1JC08=
=ZEHH
-----END PGP SIGNATURE-----

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]