Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Schedule Shutdown on Linux
Name: lucas_odell Date: July 25, 2006 at 01:22:25 Pacific OS: clarkconnect CPU/Ram: 128 Product: 400mhz
Comment:
I want to know how to schedule shutdown on my linuxserver at 00.00 every night. im using clarkconnect.
Name: wollie Date: July 26, 2006 at 01:05:55 Pacific
Reply:
Sorry, I probably can't see your issue. shutdown -r now ? / reboot ? use at-command for scheduling or crontab ? Could you provide some more hints ? Anything I didn' catch in your post?
cheers wollie
0
Response Number 2
Name: ernie Date: July 26, 2006 at 22:41:29 Pacific
Reply:
You can use cron to schedule the shutdown. Enter a command in crontab as follows:
'0 0 * * * shutdown -h now' (no quotes)
The above command directs cron to execute the command 'shutdown -h now' (shutdown - halt the system - now) at the '0' minute, on the '0' hour, all days of the month, all months of the year, all days of the week.
If you are familiar with vim or vi, you can do 'crontab -e' to edit the crontab file with the above command (I do not use vi here), or you can use the text editor of your choice.
On most Linux systems, only the root user has the authority to shutdown the system, so you will have to be logged on the server as the root user to set up the cron job.
Summary: I would like to know if there is a program to make windows programs work on linux or if you have to change file or something. If you have information please e-mail me at: MrPriolo@netscape.net. Thanks...
Summary: I use oracle 8.1.7 on linux kernel 2.4.7 of RedHat 7.2 ,and the system memory is 4G .At first I booted linux and start up the database, all was normal,but after I ran some applications which inserted...