Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automate with crontab' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automate with crontab
Authored by: sblowes on Apr 19, '06 08:56:00AM
Rather than restarting your computer at a certain time (I've not had much success with that) you can set up a repeating event from the unix side of you OS X:

Save your automator script as an application, (alarmclock.app) in /Applications
Open up terminal from /Applications/Utilities/
type in crontab -e at the command line
hit the letter i to get to insert mode
type in the following: 30 6 * * * open /Applications/alarmclock.app to wake up at 6:30am
hit esc
Type in ZZ (two capital Z's)
type in exit and you're done!

Alternately you can get Cronnix which has a neat OS X interface without having to type in all those commands, and it's a great way to automate timed events.
You can also google crontab tutorial and read up on this great little app running on your Apple. It might be handy to learn the basics of Vi which is the default text editer that crontab uses. Learning these things will take you to the next level of geekiness!

---
To err is human, to moo is bovine

[ Reply to This | # ]

Automate with crontab
Authored by: DocMan on Apr 19, '06 09:17:02AM

Actually, I use a recurring iCal event to schedule my AppleScript. That way I can change the schedule on days I need to get up early, or delete the alarm on days I can actually sleep in.

But I use Cronnix to automate other stuff.

I think the original poster was using the login function because they aren't in the habit of leaving their computer on 24/7/365. I leave my computers up and running.

Doc



[ Reply to This | # ]
Automate with crontab
Authored by: brw3sbc on Apr 19, '06 01:48:06PM

24/7/365 ???

24/7/52 or 24/365



[ Reply to This | # ]