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
OS X - Operating System General OS operation information and support

OS 10.5 - CRON with an Apple Script


Post Reply New Thread Subscribe

 
Thread Tools
riganta

 
Member Since: Jul 07, 2008
Posts: 1
riganta is on a distinguished road

riganta is offline
Hi Guys,

I am new to the mac platform and I am trying to run a simple apple script in a cron job on my leopard 10.5.4 box.
The script is saved on my desktop. I have created my cron job in /etc/crontab as such

01 * * * * slepain /Users/slepain/Desktop/Free\ Dashboard\ Memory.scpt

When I try to see if my user has a cron job with "crontab -r" i get " no crontab for slepain"

Though, I am receiving mail from my cron daemon in /var/mail that tells me cron is trying to access my script but "permission deny"

I looked at the permission and slepain (my user) has full access to it.

What can I do to remedy to that?
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,620
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
if you edited /etc/crontab instead of doing a crontab -e it won't show any jobs for your user, since it's a system job then. In that case (if it's indeed a system job) I'd run it as root rather than as your user. Else, I'd remove it, run crontab -e and actually set the job up as a user job. HTH

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks

Post Reply New Thread Subscribe


« calculating All Sizes - Finder | How to add a virtual interface in OS X »
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

All times are GMT -4. The time now is 02:04 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?