at command
hi!
i want to shutdown my server every 12:00pm midnight.... i know at command will do the work:) but where is at command in slackware 9.0??? thks:) |
You can do this with a crontab
Do a: crontab -e (as root) Put this line in: Code:
00 12 * * * /sbin/shutdown -h now 1> /dev/null |
mmm actually I like at command quite a bit. it's a little easier for quick jobs than cron is but for recurring stuff you could use either really.
ex. you have a cmd file with the command you want run, or script you want run and you want it done later... at 4pm today -f cmd or in 3 days... at 7pm +3 days -f command it's quite an interesting and not very used command actually. man at for some more info. ;) |
thk guys! ok i try cron but iam still wondering is there a at command in slackware 9.0 and 9.1??? just want to know:) thks
|
Quote:
Yes there is an AT command in slackware... `man at` -- for more info |
All times are GMT -5. The time now is 11:10 PM. |