Displaying 20 results from an estimated 30000 matches similar to: "Cron.Hourly"
2015 Apr 29
2
Cron Issues
I have noanacron installed on a fresh centos 7 install.
I added this too settings.
nano /etc/cron.d/0hourly
*/5 * * * * root run-parts /etc/cron.fiveminutes
*/1 * * * * root run-parts /etc/cron.minute
0,30 * * * * root run-parts /etc/cron.halfhour
and then created the directories for it. Now I keep getting these
errors in secure log.
**** pam_systemd(crond:session): Failed to create session:
2010 Mar 16
2
cron.hourly runs twice
For some reason I cannot fathom,
cron.hourly runs twice each hour
on one of my two CentOS-5.4 systems,
as reported in /var/log/cron:
-------------------------
Mar 16 14:01:01 helen crond[27833]: (root) CMD (run-parts /etc/cron.hourly)
Mar 16 14:01:01 helen crond[27834]: (root) CMD (run-parts /etc/cron.hourly)
-------------------------
On the other it just runs once, as expected.
2015 Oct 19
1
Exists some problem with cronjobs under CentOS7 (Partially solved)
On 10/14/2015 06:42 PM, Gordon Messmer wrote:
> On 10/14/2015 07:09 AM, C.L. Martinez wrote:
>> Uhmm ... that is not what I expect:
>>
>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system
>> /run/user/1000/gvfs
>> Output information may be incomplete.
>> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>> systemd
2015 Feb 12
7
Cronjob and sudo
I need to remove empty files out of a directory that are over 6 hours
old so I created this script and put it in cron.hourly.
#!/bin/sh
cd /var/list
sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {} \;
I want to run it as matt rather than root for just an added bit of
safety. Problem is I get this.
"sudo: sorry, you must have a tty to run sudo"
Is there another
2018 Jun 03
1
Questions about yum-cron
Hi,
Up until now I always kept my servers up-to-date manually. Currently I'm
experimenting with yum-cron to automate this process.
I read through various online tutorials, and now I have a couple questions.
1. As far as I know, when editing /etc/yum/yum-cron.conf, I can only use
the following value for update_cmd :
update_cmd = default
If I understand this correctly, 'update_cmd =
2018 Jul 02
3
cron.daily and others, not running
Hello Pete,
On Mon, 02 Jul 2018 09:59:17 +0100 Pete Biggs <pete at biggs.org.uk> wrote:
> >
> > So, service is running but what could happen that makes /etc/cron.* not
> > being fired?
>
> You don't say, but if this is CentOS 7, then cron.daily/weekly/monthly
> is run using anacron, not cron.
Oops, yes CentOS 7, sorry.
For the record:
# service anacron
2010 Feb 28
2
cron mystery
I've just noticed that cron.daily, etc,
do not seem to be running on my CentOS-5.4 system.
The scripts in /etc/cron.d/ all run fine,
but those in /etc/cron.hourly, etc, seem to be ignored.
I see that according to /var/log/cron
these commands are seen, eg
Feb 28 18:01:01 helen crond[6680]: (root) CMD (run-parts /etc/cron.hourly)
but none of the scripts in this directory
seem to be touched.
2018 Jul 02
1
cron.daily and others, not running
>
> So, service is running but what could happen that makes /etc/cron.* not
> being fired?
You don't say, but if this is CentOS 7, then cron.daily/weekly/monthly
is run using anacron, not cron.
It's configured in /etc/anacrontab and is usually run once a day by the
script /etc/cron.hourly/0anacron - cron.hourly is still run by cron.
If the script doesn't exist, then
2005 Sep 12
1
hourly log
greetings
on a simple CentOS 4 DNS server install i have the below info.
crontab -l "shows nothing"
pico /etc/crontab shows...
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
i
2015 Apr 29
0
Cron Issues
Check selinux context for directory?
30.4.2015 12.19 ap. "Matt" <matt.mailinglists at gmail.com> kirjoitti:
> I have noanacron installed on a fresh centos 7 install.
>
> I added this too settings.
>
> nano /etc/cron.d/0hourly
>
> */5 * * * * root run-parts /etc/cron.fiveminutes
> */1 * * * * root run-parts /etc/cron.minute
> 0,30 * * * * root run-parts
2017 Oct 12
0
yum-cron hourly errors
I receive messages like this from cron often. Not every hour, and not
consistently between the servers running CentOS, but at least two per
day. Is this normal?
/etc/cron.hourly/0yum-hourly.cron:
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
error was
14: HTTP Error 403 - Forbidden
Could not retrieve mirrorlist
2015 Mar 11
3
Tasks in /etc/cron.daily on CentOS 7?
Hi,
I just configured SquidAnalyzer, a nifty little network statistics tool
that I'm using mainly in school networks to monitor network usage.
I want to run the '/usr/bin/squid-analyzer' script once a day. I took a
peek in /etc/cron.daily, and the package already installed an
/etc/cron.daily/0squidanalyzer script.
I wanted to know at what time CentOS ran the cron.daily scripts,
2008 Jan 01
2
cron clarification
What is the ramifications to simply placing scripts in the /etc/cron.hourly directory as opposed to actually adding jobs via the crontab -e method?
Is there any significance to using one method versus the other?
Thanks!
jlc
2015 Apr 15
2
systemd private tmp dirs
Is there a generic way that processes written to share files with
(say) apache in /tmp can figure out that they are running on an OS
with systemd and in that case, where the daemon in question thinks
/tmp is?
For example, twiki has a backup/restore add-in where the backup part
is normally done from cron with a command line script but the
resulting archives that go in /tmp are supposed to be seen
2018 May 11
5
Yum-cron
Ok, I've just had issues this morning, and went and *looked*. I can see a
yum-cron running monthly, sure. Running weekly, I guess. Running daily?
Why?
And there is *NO* reason whatever for a "yum-hourly*. None. This is
CentOS, not ubuntu-snapshot-of-the-moment.
I don't know if this is from upstream or not, but it's wrong. I mean, even
Redmond only pushes out patches once or
2018 Jul 02
2
cron.daily and others, not running
Hello there,
I've just noticed that scripts in /etc/cron.{daily,weekly,...} are not
launched for several weeks (I noticed a `locate` not finding a recently
added binary). Exactly, it's since June 02, and `# service cron status`
says:
Redirecting to /bin/systemctl status crond.service
* crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled;
2011 Jan 05
3
cron jobs fail to run
hey centos
long time no hear! :) I'm having a small issue where the backup jobs
that I set to run in the crontab of the backup user do not appear to
be running. Here's how I set it up (with crontab -e as the backup
user):
run amanda every night (check at 2:45 and backup at 3)
45 2 * * * /usr/sbin/amcheck /var/log/amanda/crontab/amcheck.log
* 3 * * * /usr/sbin/amdump
2017 Jul 20
4
Cron sending to root after changing MAILTO
> Date: Thursday, July 20, 2017 02:25:52 +0000
> From: Richard <lists-centos at listmail.innovate.net>
>
>> Date: Wednesday, July 19, 2017 23:31:10 +0000
>> From: Chad Cordero <ccordero at csusb.edu>
>>
>> It?s being rejected before it even reaches the mailbox, so
>> forwarding won?t work.? Crond should really be using the MAILTO
>>
2011 Dec 08
1
/etc/cron.d
Hi all,
Who takes care of cronjob in /etc/cron.d ?
Should we tell crond to run it?
/etc/crontab only mentions hourly, daily, weekly, monthly
--
Thanks
Fajar
2013 Mar 13
1
Determining maximum hourly slope per day
Hello,
I have a challenge!
I have a large dataset with three columns, "date","temp", "location".
"date" is in the format %m/%d/%y %H:%M, with a "temp" recorded every 10
minutes. These temperatures of surface temperatures and so fluctuate during
the day, heating up and then cooling down, so the data is a series of peaks
and troughs. I would like