DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just out of curiosity, why do you want to reboot every night? I thought that generally that's one of the great things about linux, that you can restart only the services that you need to and don't have to cycle the hardware.
Just out of curiosity, why do you want to reboot every night? I thought that generally that's one of the great things about linux, that you can restart only the services that you need to and don't have to cycle the hardware.
im hosting a site on a..lets say "very crappy" system known to me and friends as the DynoComp..its a piece of shit but the only extra box i have..and i dont know how long it can really go untill it needs rebooting lol..below is system info LMAO
Code:
CPU model AMD-K6tm w/ multimedia extensions
CPU MHz 212.99
CPU cache 64 KB
CPU bogomips 424.34
Code:
Total RAM 53.24 MB
Total Used 52.13 MB
Swap 156.84 MB
Swap Used 1.36 MB
Last edited by ballistic509; 04-20-2006 at 04:31 PM.
Generally the way to edit the crontab is to become root and type crontab -e which will bring up your default text editor (mine is nano, but you might have vi, emacs, etc). Then enter the line somewhere, save, and exit.
You need to do as pljvaldez suggested (use crontab -e) because you can mess up your cron files if you edit them directly.
Most versions of the crontab program don't support /etc/crontab, but only the tabs in /var/cron/tabs . /etc/crontab is the exception to your normally correct rule.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.