Re: And another question... (cron and osascript)
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.