Results 1 to 11 of 11

Thread: Cron Jobs, Mac

  1. #1
    philipMac
    Guest
    Cron Jobs, Mac
    Hi, I want to run a perl cron job on a mac, how does one go about such a task...

    Cheers.

  2. #2
    Cron Jobs, Mac

    Member Since
    Apr 25, 2003
    Location
    The home of the free and the land that did for Braveheart.
    Posts
    1,301
    Specs:
    24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs
    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

  3. #3
    philipMac
    Guest
    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.

  4. #4
    Cron Jobs, Mac
    Emrys's Avatar
    Member Since
    Oct 27, 2002
    Location
    Vermont
    Posts
    1,345
    Specs:
    17" iMac G4 800MHz 1GB RAM
    Welcome aboard phillipMac...
    Emrys
    Community Administrator / Moderator
    MAC-FORUMS.COM - The Ultimate Source For Your Mac!

  5. #5
    philipMac
    Guest
    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?

  6. #6
    Cron Jobs, Mac

    Member Since
    Apr 25, 2003
    Location
    The home of the free and the land that did for Braveheart.
    Posts
    1,301
    Specs:
    24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs
    Dunno if this will help:


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

    Oh, and welcome.

    Amen-Moses

  7. #7
    philipMac
    Guest
    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...

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

    Should have included this in the previous post...

  9. #9
    Cron Jobs, Mac

    Member Since
    Apr 25, 2003
    Location
    The home of the free and the land that did for Braveheart.
    Posts
    1,301
    Specs:
    24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs
    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

  10. #10
    philipMac
    Guest
    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

  11. #11
    Cron Jobs, Mac
    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to run X from cron job
    By cborchert in forum OS X - Operating System
    Replies: 0
    Last Post: 02-04-2009, 01:38 PM
  2. CRON with an Apple Script
    By riganta in forum OS X - Operating System
    Replies: 1
    Last Post: 07-07-2008, 11:54 AM
  3. cron job question
    By nick.thorley in forum OS X - Operating System
    Replies: 1
    Last Post: 06-22-2007, 02:30 AM
  4. cron jobs
    By unplugged in forum Running Windows (or anything else) on your Mac
    Replies: 4
    Last Post: 07-24-2006, 06:52 PM
  5. New Mac? Sweet! Lets talk cron!
    By witeshark in forum Switcher Hangout
    Replies: 3
    Last Post: 03-13-2004, 01:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •