Hello everyone!
I'm not sure if this is the right place to put this, but here goes.
I want to automate things a bit on my home network so that way I don't have to spend a lot of time doing it myself. What I want to do is simple:
1). Have the computer shutdown at 1:00 AM Sunday-Friday Saturday, I want it to shutdown at 3:00 AM
2). I want to run the Apple Updates at 1:00 AM on Saturday morning without any user intervention.
3). After the Apple Updates, I want the computer to restert, so let's say it should restart at 2:00 AM. Then, I would have the computer shutdown at say, 3:00 AM.
I've written the shell scripts, and they work; I've tested them. No problems there ... at least not that I know of. I've used CronniX to schedule the tasks to run at the designated times. The scripts are invoked, HOWEVER, they prompt for a password as they all need to be in superuser, or root mode.
I'm stuck. How do I accomplish that. I thought about modifying the root's crontab, but I can't find that. I tried modifying the sudoers file, which was disasterous (thank God for Time Machine). Any help would be appreciated.
I'm running SL 10.6.4 with the latest updates.
Thanks for your time, patience and help.
I'm not sure if this is the right place to put this, but here goes.
I want to automate things a bit on my home network so that way I don't have to spend a lot of time doing it myself. What I want to do is simple:
1). Have the computer shutdown at 1:00 AM Sunday-Friday Saturday, I want it to shutdown at 3:00 AM
2). I want to run the Apple Updates at 1:00 AM on Saturday morning without any user intervention.
3). After the Apple Updates, I want the computer to restert, so let's say it should restart at 2:00 AM. Then, I would have the computer shutdown at say, 3:00 AM.
I've written the shell scripts, and they work; I've tested them. No problems there ... at least not that I know of. I've used CronniX to schedule the tasks to run at the designated times. The scripts are invoked, HOWEVER, they prompt for a password as they all need to be in superuser, or root mode.
I'm stuck. How do I accomplish that. I thought about modifying the root's crontab, but I can't find that. I tried modifying the sudoers file, which was disasterous (thank God for Time Machine). Any help would be appreciated.
I'm running SL 10.6.4 with the latest updates.
Thanks for your time, patience and help.