Running scripts without a user logged in?

Hi,

Is it possible to run a script without a user logged in?

I need to shut off all the machines in my work area at a certain time (home time :D)

I currently use the power saving options in the system preferences to wake/boot the mac’s in the morning but it only shuts them down if a user is logged in on the evening.

Is there a way of running a script without a user logged in? Ive tried using iCal and that doesnt work!

Do Shell Script "shutdown -hk +5" 

Another idea i had was to use the terminal to loggin in using SSH to all the machines on the server list as root and run a local script as above, is there a way script that process? as doing that 30+ times is not worth it!

Any ideas?

I know NOTHING about cron apart from how to run the periodic runs, and what they do, but it sounds to me like what you need is a cron job. This isn’t a job for applescript I don’t think.

sorry, but what is cron?

hi dg,

cron