At 10:46 +0100 10/9/03, Alan Fry wrote: >I have a MacPerl script I am trying to transfer from OS9 to OSX. >There are two problems: cron
cron needs to point, with a full path, to an executable, That is, something with the x permission bit set. That can be /usr/bin/perl with arguments pointing to a perl script as text or it can be to the script itself if it begins with a #!/usr/bin/perl line and has been made executable with a chmod. Remember that your .login and other initializations, $PATH in particular, will not be set up for you by cron. cron can "open" an AppleScript APPL (man open) but if all it is used for is to start up MacPerl you won't need it. Except for GUI things that involve Finder like drag and drop you'll be better off replicating the AppleScript tasks in a shell script. Osascript is available for simple AppleScript-like things from a shell. > and a progress bar. That's a problem. -- --> There are 10 kinds of people: those who understand binary, and those who don't <--