Server :: Set Cronjob To Reboot Server Every 3 Days?

Jun 1, 2010

If I make a cronjob to reboot a server every 3 days at like 2am? This way it will free up ram, etc and cause less problems right? I know a guy that is doing this, and I'm trying to convince him otherwise.

View 5 Replies


ADVERTISEMENT

General :: Configure Cronjob To Run Every 45 Days

Nov 19, 2010

we have requirement like we need to run the sql script, which needs to be executed for every 45 days.

View 1 Replies View Related

General :: Run Rsync On Server A To Copy All Files From Server B When They Are Newer Than 7 Days

Jun 14, 2011

I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.

View 2 Replies View Related

Server :: Run Cronjob Once Every Three Months?

Apr 30, 2010

I am trying to run the following only once every three months but looks like it runs every day. I edited crontab -e and added the following:

Code:

0 23 * jul,oct,jan,apr * /path/to/script > /var/log/script.log 2>&1

View 2 Replies View Related

Server :: Way To Setup Cronjob For Configuration?

May 27, 2010

I'm trying to setup a cronjob that needs to run every 40 minutes between 10am and 3.30pm.I generally used cronjob for simple configuration, but now I'm a bit lost.There is a way to setup cronjob for that configuration? (better if all in one line of code, not multilines).

View 4 Replies View Related

Server :: Email Myself Output Of Cronjob?

May 10, 2010

I have the following Cron job scheduled on my Postfix mail server: Code: 00 18 * * * /usr/bin/clamscan -r --remove /home/.This is just running a scan on my entire /home/ directory and removing any infected files it finds. My question is since this is being ran at 6pm via Cron, how can I get the results of this job emailed to me via text? Does anyone recommend a command I can add to the end which will dump the results into a file or email and send it to a specific email address? This server is my company Postfix MTA for everyone.

View 14 Replies View Related

Server :: Cronjob Rsync Doesn't Work

Mar 28, 2011

I have a computer that I would like to backup the home directory onto a server. I created a script called wien_backup.sh that contains the following:

#!/bin/bash -l
/usr/bin/rsync -rv --delete-after --ignore-errors -e /usr/bin/ssh root@wngr403-unix2:/home/ /space/systemimager/Wien/

where wngr403-unix2 is the computer I am backing up, and the script is ran from the server. If I run the script by itself, it works just fine. If I run it as a cronjob, the /var/log/syslog says it ran, but it does nothing.

View 6 Replies View Related

Software :: Cronjob Schedule To Run Php Script On Lighttpd Server Internally?

Mar 29, 2011

I know that you can access and run any script of the web by wget:

Code:

wget mydomain.com/page.php

But this is literally accessing it externally through the web, i think that it is safer and faster to access the script internally. I am using lighttpd to host my php pages, and is there a way to do that? I have had some hosting experiences, the cronjobs on the hosts let u input:

Code:

* * * * * php /public_html/path/page.php

View 2 Replies View Related

CentOS 5 :: My Server Hangs After 2 Days

Jul 24, 2010

I servers hangs after working fine for 2 days. I will not get any display after server hanges and after restarting the box, i will be fine again.

View 4 Replies View Related

Hardware :: Server Getting Automatically Shut Down After 2 Or Three Days?

Apr 28, 2010

server getting automatically shut down after 2 or three days,after cleaned RAM and changing power cable its works but still problem occured. tried updating bios.

View 4 Replies View Related

Server :: Account Should Be Expired If Not Logged In For 15 Days Through FTP?

Mar 23, 2011

We have one ftp server. Number of users are using it remotly. My requirement is that suppose any user is not connecting to the server using FTP for 15 days then account should get expired/locked automatically. Is it possible?

View 5 Replies View Related

Server :: Restore Machine To 5 Days Back?

Jul 29, 2011

i want to know whether there is any module to restore my linux machine before 5 days as like in windows

View 1 Replies View Related

CentOS 5 Server :: Start Jboss And Tomcat Automatically, When I Do Reboot The Server?

Sep 9, 2009

I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?

View 1 Replies View Related

Server :: RHEL 4.4 - Load Average Raising Every 7-10 Days?

Nov 9, 2010

I just wonder if anyone can give some hint regarding my problem. I have a server based on RHEL 4.4.What I have noticed is that server load average is raising in approx. 7-10 days by approx. 7, even if has very low CPU utilization, memory utilization on approx 80% and low on I/O stats.Linux apollo 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux

[Code]...

Server is used as compilator / build machine to build aplication from source code stored in IBM Rational clearcase envinronment, and as a test server to test those builds with network equipment. Does anyone can tell what could be causing this behaviour?

View 3 Replies View Related

Server :: Apache Stops Responding To HTTP Requests Every Few Days?

Dec 28, 2010

I've had a VPS running Ubuntu 9.10 x64 server, hosting 3 websites of mine for a few months now. This problem has been happening for a while. Every once in a while, probably every 2 or 3 days, I'll wake up in the morning, and apache won't be responding, no web pages will load. /etc/init.d/apache2 status, reports that apache is functioning properly. Every time I simply have to restart the daemon and things run fine for another few days.

I thought maybe it was a memory issue, so I lowered the MaxClients in the prefork module from 50 to 30 a few days ago, but the same thing is still happening. My VPS has 512MB of ram, burstable to 1GB, and according to Virtuozzo, there was only one night of high traffic where I even came close to that soft limit. I've checked my syslog, and there's absolutely nothing in there about apache. I've checked apache's error.log as well, and there's nothing in there that would indicate a problem either.

View 3 Replies View Related

CentOS 5 Server :: Ipt_Sysrqd To Reboot A Server By Ping

Apr 26, 2009

I see this site: [url]

That explain how to reboot a freeze system by remote with only make a ping in other machine.

Well I want to know if that module is compatible with my centos 5 because it appear that run in kernel 2.6.X. is compatible ?

View 2 Replies View Related

Ubuntu Servers :: Server Ram Usage Increases Dramatically After A Few Days Of Uptime?

Jan 31, 2010

I was wondering why after a couple of days of my ubuntu server running, that it goes from starting off at 94mb of ram usage all the way up to 498mb of ram usage?

View 2 Replies View Related

Server :: Script To Delete Files Older Than X Days Fstab Has Noatime Enabled?

Jul 26, 2011

I have set up a simple find and delete script for files older than X days. The problem is that some of the files that are send in this share are transfered from an archive server and creation/modified date remains the same when copied and the age of them could be a year ago or older and they get deleted over night by the script.For performance reasons the raid is mounted with noatime in fstab.Do you see any solution to this problem except enabling atime?I'm thinking at some more advanced script that writes the list of added files once a day and marks them for deletion after some time.

View 2 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

View 5 Replies View Related

CentOS 5 Server :: Reboot The Server With Centos 5.5 The SMB Deamon Doesn't Start?

Feb 22, 2011

when I reboot the server with centos 5.5 the SMB deamon doesn't start?

View 2 Replies View Related

General :: Can't Reboot Server

Jul 2, 2011

I login to my server and when I open new console I get:

-bash: /etc/profile: Input/output error
-bash: /root/.profile: Input/output error

and nothing is working I tried to reboot or top command but not working also I can't open SFTP the server says The server has rejected the SFTP request.

View 2 Replies View Related

Ubuntu :: 10.04 Server - OS Not Loading On Reboot

Jul 13, 2010

I have installed Ubuntu Server 10.04 on a Dell pc without issue, but on reboot or startup from being off it doesn't load the os. It flashes error: no such disk then leaves me a blank screen with a flashing cursor. For some reason it's not seeing the drive.

View 4 Replies View Related

Server :: Apache Never Starts On Reboot?

Mar 3, 2010

I've been pulling my hair out on this one. I haven't had to reboot my server in many many moons, but when I did recently, everything fired back up just fine... except httpd!The strange thing is that if I log in after reboot and simply type:

Code:
service httpd start
It starts up just fine!

[code]....

View 9 Replies View Related

Programming :: Possible To Remotely Reboot Server Using SSH Over CGI?

Aug 2, 2010

If I can remotely reboot a server using SSH over CGI? I configure the client and server with keys to make ssh without password, and, on the terminal i can make "ssh root@server_ip reboot" and it reboot normally, but, I don't know how to do this on a CGI?

View 3 Replies View Related

Fedora :: HP Server Dead In Water After Reboot?

Jun 9, 2010

I have been running Fedora 12 on my HP Proliant DL140 Server for about 6 months now without any issues, yesterday I ran yum update and rebooted afterwards but the server now wont boot

View 14 Replies View Related

Fedora Servers :: Can't Reboot Or Shutdown Server

Feb 25, 2011

After a couple of days, some commands related to the disk (df) or files (ls) or killing process (kill -9) doesn't respond. Even I can't reboot or shutdown my server. After an hard reboot, some files are not here anymore or the log files are not filled anymore until I restart.My disk are behind the RAID controller i6 and are configure in RAID 1. The disks are two HP SCSI 72,8GB 10k RPM.Maybe I am totally wrong to check the disk access side, so I am open to other explanation.I can also add that my CPU is running under 1% et my RAM under 10%.

View 14 Replies View Related

CentOS 5 Server :: Xend Not Running After Reboot

May 13, 2010

service xend status returns nothing - simply moves to next line
service xend start does the same thing
xm list
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Error: Unable to connect to xend: No such file or directory. Is xend running?

View 5 Replies View Related

Ubuntu :: OpenVPN Server Won't Start After Reboot

Jul 15, 2010

I had recently setup an OpenVPN server on x64 10.04 via the guide found at: [url]

Everything was working perfectly, all clients were able to connect etc.

Today I needed to reboot for a completely unrelated issue - only to find that upon logging in, openVPN was no longer running.

When I tried to execute 'sudo /etc/init.d/openvpn start' I'm presented with an interesting message...

This *used* to say Server. I've double checked all the configs and scripts used in the config and they all check out OK. I purged and reinstalled openVPN to no avail...

View 2 Replies View Related

Ubuntu / Apple :: Server 11.04 Don't Reboot On Macmini 3.1

May 21, 2011

i've installed 11.04 server on my macmini 3.1 (late 2009) from cd, and it is the only system isntalled (no os x, no windows). It works very well, even netatalk. The problem is, if i reboot the computer ubuntu doesn't start and i've got the blinking folder with question mark after ~30 seconds.

View 1 Replies View Related

Ubuntu Servers :: /tmp Cleared On Server Reboot?

Jul 26, 2011

I installed 11.04 server and had samba share /tmp (as advised by the server pdf doc) shared to my windows 7 laptop, which was all well and good, so copied some files to it and rebooted the server, and they had been removed.i guess i shouldnt have put anything in /tmp as i presume this is cleared on reboot, so why did the documentation advise to create /tmp share?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved