I found (Red Hat Fedora Core 6 Server) a CRON entry for "backupmng" that has repeats at 1,16,31 and 46 minutes every hour of every day, 24/7.It is located at:/usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1.
I wish to run a cron job every half hour, where exactly do I put the job? The reason I am asking is that I am used to entering jobs into crontab, I am not used to using fedora and its cron layout.
I'm experiencing a problem with cron.hourly running mcelog.cron on Fedora 11:Quote:mcelog: warning: 18446744073709551600 bytes ignored in each recordmcelog: consider an updateI've read a dead end email thread here from February 2010 describing what I am seeing on Fedora here:Does anyone have any insight into this problem? This is relevant portion of strace(1)ing mcelog which shows /dev/mcelog is open()d and configured correctly:Quote:
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.)
I recently decided to try KDE4 and would like the change the clock on the panel to display 12 hour format and not the default 24hour format but i can not find where to change this option currently the clock looks like the attached picture. Gnome has this option and I would like to see it in KDE if it exists in the default clock. I am willing to replace the default KDE clock with a seperate widget if one exists for this.
Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..
I need to change the time displayed in the task bar from a 24 hour clock to a 12 hour format. I could not find the relevant settings in OpenSuse 11.2 and same is the case for 11.3 as well.
how to make the change? I have tried System Settings ---> Computer Administration ---> Date & Time; but I was not able to make the desired change.
Similarly, I have a digital clock widget that shows GMT + 5.5 hours and I need to change that to 12 hour format as well.
I just switched over to Lubuntu, and so far, it's been great.It's rendering quite well with my laptop, even though the fan is constantly running.I've had some small annoyances that I haven't been able to figure out. How do I get the power button and/or other related actions to the 'start' menu? Is there a way to drag and drop applets like in Ubuntu? How do I setup default brightness like in Ubuntu? How do I change the time to normal US time (12 hour instead of 24 hour)How do I change the time to a 12-hour instead of 24-hour?Is there a software center?
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.)
I'm running a fully updated Fedora 15.In Evolution's calendar, my days are limited to 12 hours: from 0:00 to 11:45, always.Under preferences->Calendar and Tasks->General, I have "day begins" as 07:00, and "day ends" as 23:30. Changing these numbers has no effect whatsoever. Selecting "12 hour" under "time format" also does nothing.I REALLY hope this isn't a deliberate change by the Evolution developers. My days have normally consisted of more than 12 hours since I was three or four (I'd have to call my parents to ask). Jokes aside, what's going on and how do I change this?
How to backup in such way that, data will be backed up in every 1 hour...but every time not full data;; only the data/file which have been modified within last 1 hour. Its on locally. And how to back up local data to remote system. Because I have tried with ssh-keygen also , but everytime its requiring password.
Fresh 12 install. I did a yum install yum-fastestmirror and it took over 30 minutes to download its database, at a speed of 5-9 KB/s. Drove me nuts to wait 30 minutes to download a 60Kb program. Then after the install of fastest-mirror, I thought I was out of the woods, and launched a YUM UPDATE, and its still downloading fedora/filelists_db at 13KB/s. Estimated to take over 20 minutes. After that, it will be downloading the 500MB of stuff - hopefully at a better rate. Sigh!! No way to speed this up?
I had an aging RH 7.3 server that I decided was time to upgrade the hardware and software as well. I chose Fedora 13.This server runs an ircd with several bots connected to it. The bot in question is a perl bot based on the old dreambot script. On the RH 7.3 server, it ran forever. On the new Fedora 13 server, it does an EOF and restarts every hour, exactly one hour after it's been started.Is there something limiting the time that a perl script can execute?
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.
I create a shell file with different commands . I am able to execute it manually . Now I want to schedule this file hourly . For this where I place this file and where I configure for time .
I can't seem to get a cron job to work on my Fedora 11 box. When I check the logs, cron is actually working. In my /etc/crontab I have an entry to run the cron job on my Moodle installation:
I would like to schedule a cron job to run on every first saturday of the month, so far all documentation that I have looked at, mentions only a weekly cron or a monthly cron based on the date. Is it possible to run a monthly cron based on the day of the week?
How to schedule a job using cron that shouldn't run between working hrs 9am-5pm, while run in non working hrs every hour, every day of the month, month & week. I tried the following way, not sure I can use logical not operator(!).
crontab -e 0 !9-17 * * * /path/to/script/file I guess other way is 0 17-8 * * * /path/to/script/file
i have couple of question first when i m running my php script file named myindex.php and while its running in browser i add this code in putty to see if it shows my php script is running or not but i see nothing ps aux |grep myindex.php | grep -v grep
why i cant se if myindex.php is running or not with above command.
second how can i add a cron job to my php script, i know only through kloxo or cpanel.
Just read through some cron manuals. (man -k cron).Didnt understood that much though.I'm a gamer and loosing control over time at nights. So what i want is that my computer shuts down itself at latest 1:30 am. Do i need to set up the command for each day (monday, tuesday.. and so on) or is there an option simliar to my 'example' below?
€dit: Both examples should do the trick.
Code:
# m h dom mon dow command 30 1 * * 1,2,3,4,5 shutdown -h +5 Get some sleep dude! 30 1 * * 1-5 shutdown -h +5 Get some sleep dude!
Where as 1 to 5 would be all weekdays, but not saturday or sunday morning at 1:30am.If i can shorten it to 1 line instead of 7 lines (one per day of week) that would be great.