LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   at command (https://www.linuxquestions.org/questions/slackware-14/at-command-145908/)

slack66 02-14-2004 02:12 AM

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:)

Justin_Time 02-14-2004 03:00 AM

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
And done.

Astro 02-14-2004 01:35 PM

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. ;)

slack66 02-14-2004 07:35 PM

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

Astro 02-14-2004 07:47 PM

Quote:

Originally posted by slack66
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

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.