General :: Need To Be Able To Set Cron To Reboot System Every 5 Min

Jul 19, 2010

I have a friend who needs a script to reboot a system every 5 min... not sure how to set cron to do this every 5 min.

View 1 Replies


ADVERTISEMENT

General :: Cron Job For Testing First System But It Doesn't Work?

Oct 5, 2010

I created a very simple cron job for testing my first Linux system but It doesn't work. After open the crobtab file by typing crontab -e, I put a line like this to send email in every 2 minutes to report disk usage:MAILTO=dan@gmail.com*/2 * * * * du -s /homeI tried to restart cron several times but I still got nothing worked. /etc/init.d/crond restart

View 14 Replies View Related

Ubuntu Servers :: Cron Jobs At Reboot Not Working

Jul 13, 2010

Have a headless server running Lucid 64 bit. Everything is working great except for a couple of Cron jos I'm trying to have run at boot.

My user crontab looks like this:
# m h dom mon dow command
01 * * * * /home/ceallred/Scripts/SambaBkup.sh
@reboot /usr/bin/SpiderOak --headless &The SambaBkup script works like clockwork...

The SpiderOak job doesn't start. It works if I type the command in manually.
syslog only shows:Jul 13 22:45:33 RavenWing cron[1010]: (CRON) INFO (pidfile fd = 3)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) STARTUP (fork ok)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) INFO (Running @reboot jobs)
Jul 13 22:45:33 RavenWing CRON[1048]: (ceallred) CMD (/usr/bin/SpiderOak --headless &)Yet ps -A doesn't show a running SpiderOak process. It shows after starting manually.

View 7 Replies View Related

General :: Automatically Trigger A Cron Job Each Time I Log In On System Account?

Jul 27, 2011

Is there any way to automatically trigger a cron job each time I log in on my linux account.

View 9 Replies View Related

General :: Auto Reboot Smoothwall System Box?

Jul 13, 2010

I have a smoothwall linux box that I need to setup an automatic reboot daily. Can anyone point me in the right direction to begin.

View 1 Replies View Related

General :: Filesystem Loading Failure - System Will Reboot

Mar 11, 2010

An error occurred during the filesystem check. Dropping you to the shell; the system will reboot when you leave the shell.
Warning -- SELinux is active
Disabling security enforcement for system recovery
Run 'setenforce 1' to reenable

View 1 Replies View Related

General :: Reboot(LINUX_REBOOT_CMD_RESTART) - Lock Up The System And Does Not Return From The Call?

Jul 8, 2011

I am running an embedded Linux Release 2.4.19-uc0.

I have code in several places that calls

reboot(LINUX_REBOOT_CMD_RESTART)

successfully. I need to put it into a new place in a application running on the system. When I do, it seems to just lock up the system and does not return from the call nor leave me able to Telnet in or Ping or anything. I've tried puttingtrace code in to write info out to a file, but that too is not working (as it never returns from the reboot() call.I don't get any error from reboot(), it just does not return and does not appear to restart the system.

View 3 Replies View Related

General :: Fscheck For Ext3 Filesystem - Usually Occurs When Reboot System Performing Administration Tasks

May 29, 2010

fscheck is quite annoying, since it usually occurs when I reboot my system performing administration tasks. do I actually need fscheck if Im using the ext3 file system? if not how would I extend the period between checks or just turn it off altogether?

View 9 Replies View Related

OpenSUSE :: 11.3 KDE 4.5.2 System Cron Greyed Out

Oct 10, 2010

I've just upgraded to KDE 4.5.2 "release 5".When I go into System Settings (Version 1.0) the System Cron options are all greyed out.I've googled and searched the forums but cannot find a solution, what do I need to do to rectify this?

View 4 Replies View Related

General :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.

View 2 Replies View Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.

View 6 Replies View Related

Software :: Cron Clock Is An Hour Off To System Time

Mar 31, 2010

I have cron jobs running and the timing is critical, because I'm running Nessus scans on production servers. If I hit them at the wrong time, I'm toast. But when I check the cron log, I see that it is an hour off. Here is the output for the command "clock":
Wed 31 Mar 2010 03:01:26 PM CDT -0.257677 seconds

And this is the tail of the cron log:
Mar 31 16:00:01 nes-001 CROND[8790]: (root) CMD (/Nessus/Targets/NessusScriptDataCenterScan.test)
Mar 31 16:01:02 nes-001 CROND[8822]: (root) CMD (run-parts /etc/cron.hourly)
Mar 31 16:01:02 nes-001 run-parts(/etc/cron.hourly)[8822]: starting 0anacron
Mar 31 16:01:02 nes-001 anacron[8832]: Anacron started on 2010-03-31
Mar 31 16:01:02 nes-001 anacron[8832]: Normal exit (0 jobs run)
Mar 31 16:01:02 nes-001 run-parts(/etc/cron.hourly)[8834]: finished 0anacron

Cron thinks it is 4:00 p.m., but it's really 3:00 p.m. How do I tell Cron what time it is? (Stopping and restarting the crond service did not change it.)

View 1 Replies View Related

Ubuntu Servers :: Cron Sending Email From Address / Change The Default Domain Name For Cron?

Apr 29, 2011

Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com

this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.

View 1 Replies View Related

Software :: Write A Cron Jobs In System To Monitor Project Diskspace Usage?

Jul 28, 2011

How to write a cron jobs in linux to monitor my project diskspace usage?
check diskspce= du -h .

any clue for me as a beginner?

View 7 Replies View Related

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

Ubuntu Installation :: Cron's /etc/cron.daily/apt Not Upgrading?

Feb 25, 2010

It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:

Code:

ps -A | grep apt

showed it for a long time,

Code:

sudo tcpdump tcp

showed communication with canonical sites,

but:

Code:

top

did not show any apt using CPU

[code].....

View 2 Replies View Related

Ubuntu :: Do Cron Updates Erase Cron Entries

Sep 19, 2010

I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.

View 2 Replies View Related

CentOS 5 :: Setup A Cron In /var/spool/cron/root

Feb 16, 2010

I have set up a cron in /var/spool/cron/root

*/15 * * * * /usr/bin/phplist.sh

I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.

If I run /usr/bin/phplist.sh right in the shell it works great.

View 3 Replies View Related

Software :: Vixie-Cron Not Running /etc/cron.d/

Feb 9, 2011

Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.

Code:

View 2 Replies View Related

Fedora :: Reboot System Before Write DVD?

May 8, 2010

I use Fedora12 AMD 64 and use Gnome and use K3B for write CD and DVD , when my system is ON for 1 hour and I want write DVD with K3B , I have to reboot system and after reboot , I can write DVD and I do not have problem , but when I do not REBOOT system and start write DVD , write 4.3 GB od DATA , take long time , and my fedora write on DVD in 8 hour and sometimes it take long time , but after reboot write one DVD take 16 min. I do not know why .

fedora work for 1 hour -----> when dose not reboot system --> take 8 hour for write one DVD Fedora work for 1 hour -----> when reboot system ---------> take 16 min for write on DVD

this is happen when I use brasero for write DVD. my HDD is 80 GB and I use Default partitioning rule for partition my HDD

View 3 Replies View Related

Ubuntu :: System Crash. After That No Reboot Possible?

Mar 12, 2010

After a system crash while watching a video with vlc and downloading somthing, i can't reboot my system.In the secure mode i get this informations[4.774621] device-mapper: dm-rai45: installized v0.2594b[ 1166.832045] ACPI: EC: non-query interrupt recived, switching to interrupt modeNow the scree is black (20 minnutes later

View 1 Replies View Related

CentOS 5 :: Allow One User To Reboot System Only?

Sep 8, 2011

I was wondering if anyone knew how to add a user/pass and allow them to issue the reboot command. Ideally, I dont want them to be able to see files/directories or anything else for that matter.I was thinking something along the lines of a chroot jail that has a single script that would call the reboot.

View 2 Replies View Related

OpenSUSE :: System Time Is Always Wrong After Reboot

Jan 6, 2011

Every time I reboot my computer the system time always comes up exactly 10 hours behind where it should be. So if I reboot it at 16:00 it comes up as 06:00.

This has only been happening since I got back from a trip to Australia, where I naturally changed the computer's timezone to match the local one. I'm now back in Central European Time which is 10 hours behind Australia's. This is on opensuse 11.3.

I've used the YAST date and time tool to set the timezone correctly, and /etc/localtime is set correctly:

Code:
:~> sha1sum /etc/localtime
b065fae6bda0f0642ca6a52b665768e34a99d213 /etc/localtime
:~> sha1sum /usr/share/zoneinfo/Europe/Berlin
b065fae6bda0f0642ca6a52b665768e34a99d213 /usr/share/zoneinfo/Europe/Berlin

[Code].....

View 9 Replies View Related

OpenSUSE Install :: Reboot Directly To Another System?

Jul 7, 2010

in a previous version of openSUSE (I think it was v10.3), there was a possibility to directly/automatically start another OS after exiting (rebooting) openSUSE. This could be done through "right-clicking" on the Reboot (Restart) button from the KDE's log-off dialog and choosing the OS you wanted to be started after the restart. Please, does anybody know if this is possible in openSUSE 11.2 (KDE 4.4)? PS: I know that GRUB enables that, but I prefer a "GUI way" rather than using command line and editing configuration files

View 4 Replies View Related

Ubuntu :: Every Time I Try To Reboot System It Hangs

Mar 21, 2010

I am using Ubuntu 9.10. Every time I try to reboot my system it hangs. Shutdowns work properly. I've done multiple re-installations. Nothing I've tried fixes the problem. Does anyone have any suggestions?

View 4 Replies View Related

Ubuntu :: 10.4 System Slows To Unbearable Until Reboot?

May 3, 2010

I ran Karmic until last week, and noticed that it seemed to be getting slower. I was hoping a clean install of Lucid would fix that. it's worse. If I leave my machine running for a few hours, something begins dragging down the performance to a crawl.

System Monitor sometimes won't come up - launches an empty grey window. Other times, System Monitor reports that gnome-system-monitor is consuming 86-96% CPU. This is a dual-core Dell e6500 laptop with 4 Gigs of RAM, it should fly. Any ideas on troubleshooting this?

View 5 Replies View Related

Ubuntu :: Firefox Always Starts On A System Reboot?

May 11, 2010

How can I stop Firefox from always loading when I restart my computer?

View 2 Replies View Related

Ubuntu :: Second File System Changes Path After Reboot?

Aug 15, 2011

A few days I used the wubi installer to install Ubuntu over Windows. This I did on my C: drive. I also have another partition, the X: which now is my D: drive after I used the gparted live cd to give the system partition more free space. No problems so far.

But now, when I use Clementine Player, I see that it cannot find any of my songs in my library and Deluge has to 'check' my downloads every time I open it after a reboot. My theory is that the folder inside /media/, which contains the file system gets a new name (a 16 digit capital letter/number name) every time I reboot my computer - or maybe every time I use Windows and then Ubuntu again? It's pretty annoying,

View 1 Replies View Related

SUSE :: After Reboot All System Files Are Read-only

Mar 18, 2009

We are running SUSE 10 SP1 and MySql 5.0.62 with heartbeat configured cluster attached to a SAN and after upgrading powerpaths on the fiber switches we had to reboot the machines and remount the SAN luns.

The cluster successfully started and was working fine for about a day or so and then i logged in as root and hosts, fstab, known_hosts were all giving me this error when i tried to modify them "W10: Warning: Changing a readonly file"

I failed over to another node and same thing happens on another node. I can't modify any of these files

View 2 Replies View Related

Software :: F15 Upgrade - System Stopped After Reboot

May 28, 2011

I have upgraded Fedora 13 to Fedora 15 using installation DVD. Upgrade went well, no issue. After the reboot, the system stops after following line:
Started LSB: Suspend/Resume libvirt guests on shutdown/root.
I do not have any idea what kind of problem is, also I would like to keep my old version installation.

View 4 Replies View Related







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