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


Click here to return to the 'What benefit?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
What benefit?
Authored by: jhaffner on Nov 05, '04 01:20:32PM

Just out of curiosity, what's the benefit of using this hint over putting things into your startup items under the Accounts pref pane?

John

---
Don't worry, it's out of control.



[ Reply to This | # ]
What benefit?
Authored by: simonpie on Nov 05, '04 01:41:00PM

Apps that you put in your startup field in account preference are launch at login not boot time.



[ Reply to This | # ]
What benefit?
Authored by: rhesuspieces00 on Nov 05, '04 03:14:28PM

well, for most users, im not sure if there is a huge benefit. i know my school's sysadmins use crontabs to do some pretty useful things, but they would mostly not be relevant to single user machines. but, if say you wanted specific scripts to run for a user enrolled in a particular class whenever he logs in, or if he logs in on a particular day of the week...whatever, you can do things like that...prompt the user to change his password every 6 months, schedule backups, etc, etc.

powerful, if you care to learn how to use it.



[ Reply to This | # ]
What benefit?
Authored by: Ksenia on Nov 05, '04 07:18:25PM

I found it to be more easy to startup command line programs. No need to create whole Startup item for that... just one line in the crontab.



[ Reply to This | # ]
What benefit?
Authored by: jpbjpbjpbjpb on Nov 05, '04 08:37:33PM

Except that Apple may or may not step on your modified crontab file in a system update. If you use a StartupItem (and put it in /Library/StartupItems where non-Apple ones belong), you don't have to worry about a system update silently causing your bootup tasks to stop working.



[ Reply to This | # ]
What benefit?
Authored by: Nik_Doof on Nov 06, '04 07:13:56AM

Well, if you add a user crontab and not edit the system crontab (which u shouldnt to anyway) then it will never happen.



[ Reply to This | # ]
What benefit?
Authored by: maartensneep on Nov 06, '04 05:36:56PM

Some commands have to be issued by a privileged user, so you couldn't put them in a user crontab. An example of this situation is to have (some) maintenance script run at start-up (like the periodic daily or periodic weekly scripts I pointed at in another comment). Since quite a few computers are off or asleep during the night, most computers have their periodic scripts run at irregular intervals.

I'd love to have further extensions to this, something like: @reboot,weekly (which would mean: at reboot, but at most once a week. This would add an administrative burden through). Alternatively: @reboot,monday (at reboot, but on mondays only).

Maarten

Maarten

[ Reply to This | # ]