New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

Cron Jobs, Mac


Post Reply New Thread Subscribe

 
Thread Tools
philipMac
Guest
 
Posts: n/a

Hi, I want to run a perl cron job on a mac, how does one go about such a task...

Cheers.
QUOTE Thanks
Amen-Moses

 
Member Since: Apr 25, 2003
Location: The home of the free and the land that did for Braveheart.
Posts: 1,301
Amen-Moses is just really niceAmen-Moses is just really niceAmen-Moses is just really niceAmen-Moses is just really nice
Mac Specs: 24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs

Amen-Moses is offline
In OS9?

Don't you mean OSX?

On OSX I'd assume it's doen in the standard unix way but I haven't personally tried it.

(The book on OSX I have does say that OSX has some standard clean up jobs already built in and that I should leave the machine on overnight if I want them to execute but I don't have any further details of what they are.)

Amen-Moses
QUOTE Thanks
philipMac
Guest
 
Posts: n/a

No, I mean OS 9. Running a cron job in OSX is handy enough, I just dont know how to do it in OS9. Ok, It might not be called a "cron" job, but I want somthing to run my little perl script everyday at midnight on a OS9. Nine.

Cheers.
Philip.
QUOTE Thanks
Emrys

 
Emrys's Avatar
 
Member Since: Oct 27, 2002
Location: Vermont
Posts: 1,345
Emrys is on a distinguished road
Mac Specs: 17" iMac G4 800MHz 1GB RAM

Emrys is offline
Welcome aboard phillipMac...

Emrys
Community Administrator / Moderator
MAC-FORUMS.COM - The Ultimate Source For Your Mac!
QUOTE Thanks
philipMac
Guest
 
Posts: n/a

Hi, thanks, listen, I have no idea really about how to use Macs, I can use linux/unix/win, but this is all new to me. I have to get a perl script runing on a mac os 9 machine. Any ideas?
QUOTE Thanks
Amen-Moses

 
Member Since: Apr 25, 2003
Location: The home of the free and the land that did for Braveheart.
Posts: 1,301
Amen-Moses is just really niceAmen-Moses is just really niceAmen-Moses is just really niceAmen-Moses is just really nice
Mac Specs: 24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs

Amen-Moses is offline
Dunno if this will help:


http://www.sophisticated.com/support...eadme_151.html

Oh, and welcome.

Amen-Moses
QUOTE Thanks
philipMac
Guest
 
Posts: n/a

I have actually found a thing that will do a cron job on a os 9, now I have to find out how to get it to run a perl script. There is no command line interface (?) on OS 9, and I have no idea how to talk to machines without one...
QUOTE Thanks
philipMac
Guest
 
Posts: n/a

Sorry, FYI, its called CronoTask, http://www.versiontracker.com/dyn/moreinfo/macos/4426 is the URL.

Should have included this in the previous post...
QUOTE Thanks
Amen-Moses

 
Member Since: Apr 25, 2003
Location: The home of the free and the land that did for Braveheart.
Posts: 1,301
Amen-Moses is just really niceAmen-Moses is just really niceAmen-Moses is just really niceAmen-Moses is just really nice
Mac Specs: 24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs

Amen-Moses is offline
I haven't investigated AppleScript yet but I would have thought that you could launch the perl script from within an AppleScript (which I also assume is launcheable from the "cron" app).

I've only had my iMac for a month and apart from using Classic (which is OS 9.2.2 based) to launch the odd OS 9 program I know virtually nothing about it, sorry I can't be of more help.

Amen-Moses
QUOTE Thanks
philipMac
Guest
 
Posts: n/a

Hi, Ok, I have found this MacPerl thing, which seems to be pretty much like Perl, except that you can run it on macintoshes pre OSX.

Then I can write up the perl script, and point to it from this CronoTask software, or whatever its called.

I think you are right though. I think you can kind of get some class of a command line interface with AppleScript. Although, its abviously going to be poor in comparison to the BSD UNIX interface that OSX offers now. Very clever move by Apple that one.

Take it easy.

Philip
QUOTE Thanks
muso

 
muso's Avatar
 
Member Since: Jan 15, 2003
Location: Whangarei, New Zealand
Posts: 2
muso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond repute
Mac Specs: Pwnt

muso is offline
Call your script with applescipt. MacPerl should open automatically and run the script for you, but I don't know how well you will be able to use perl in integration with OS9... MacPerl on 9 is used for web development mainly (I haven't heard of anybody running cron jobs with it).

Let us know how you get on.

I'm in your forums, writing sentences in a grammatically acceptable manner.
QUOTE Thanks

Post Reply New Thread Subscribe


« tidyness can kill | making an Apple 7200 a print server »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Mac Songs The mac 13 Switcher Hangout 7 05-06-2010 12:35 AM
New Mac? Sweet! Lets talk cron! witeshark Switcher Hangout 3 03-13-2004 01:13 PM
Been Looking for MacWorld Info... southside Schweb's Lounge 5 01-08-2004 02:19 AM
Highlights from Apple's annual analyst meeting Murlyn Apple Rumors and Reports 8 11-10-2003 10:40 AM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 07:21 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?