Terry, I believe the tar command can run in the command prompt also and it doesn't need to run in the bash shell. Also I think the system command (in Perl) uses a bash shell to execute your command.
If there is a cygwin has a cron function you will need to create a crontab file Example: # minutes (0-59) # hour (0-23) # day of the month (1-31) # day of the week (0-6, 0=Sunday) # # # Example 1: Cleaning up core files # This example cleans up core files every weekday morning # at 3:15 am: 15 3 * * 1-5 find $HOME -name core 2>/dev/null | xargs rm -f # Example 2: Mailing a birthday greeting 0 12 14 2 * mailx john%Happy Birthday!%Time for lunch. # Example 3: Specifying days of the month and week # This example # 0 0 1,15 * 1 # would run a command on the first and fifteenth of # each month, as well as on every Monday. # To specify days by only one field, the other field should # be set to *. For example: # 0 0 * * 1 # would run a command only on Mondays. Hope this helps, Craig > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:perl-unix- > [EMAIL PROTECTED]] On Behalf Of Terry Vaughn > Sent: Wednesday, November 20, 2002 6:19 AM > To: [EMAIL PROTECTED] > Subject: [Perl-unix-users] OT cygwin question > > Hello. I have the cygwin bash environment installed on Win2K and run a > lot of my perl scripts from this env. > > I have a script that I would like to run from the "AT" scheduler, but the > perl script has to run from the cygwin bash env. > It contains a system command that calls "tar". > > Has anyone used the "AT" scheduler in conjunction with perl scripts > written within the cygwin env ?? > Snibbets of code maybe?? > > Terry > > _______________________________________________ > Perl-Unix-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs