• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: And another question... (cron and osascript)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: And another question... (cron and osascript)


  • Subject: Re: And another question... (cron and osascript)
  • From: Andrew Oliver <email@hidden>
  • Date: Mon, 06 Oct 2003 10:13:25 -0700

Assuming your script is compiled and not a script app:

* */8 * * * osascript /path/to/your.scpt

If it is a script app, remove the 'osascript' and just include the path to
your application.

If you want a schedule other than midnight/8am/4pm then specify multiple
hours separated by commas:

* 3,11,19 * * * osascript /path/to/your.scpt

Will run at 3am, 11am and 7pm

Andrew
:)

On 10/6/03 9:28 AM, "Steve Thompson" <email@hidden> wrote:

> Can't seem to find a way to get cron to run a compiled script every 8
> hours. I just get error messages.
>
> Could someone point me in the right direction?
>
> Thanks,
>
>
> Steve
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >And another question... (cron and osascript) (From: Steve Thompson <email@hidden>)

  • Prev by Date: CD virus scan
  • Next by Date: Re: Get a list of folders and then get told the items in the list don't exist
  • Previous by thread: And another question... (cron and osascript)
  • Next by thread: Re: And another question... (cron and osascript)
  • Index(es):
    • Date
    • Thread