Displaying 20 results from an estimated 2000 matches similar to: "Centos 6.2, sheduled tasks (cron)"
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,
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 Mar 11
3
crontab and/or anacrontab ?
Is one meant to have one or the other?
If so, which is recommended?
I have
--------------------------------
[tim at helen etc]$ cat anacrontab 
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
1       65      cron.daily              run-parts /etc/cron.daily
7       70      cron.weekly 
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
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
>>
2018 Jul 02
0
cron.daily and others, not running
> 
> For the record:
> # service anacron status
> Redirecting to /bin/systemctl status anacron.service
> Unit anacron.service could not be found.
> You have mail in /var/spool/mail/root
It's not a service.  As I said, it's run using a script in
/etc/cron.hourly
> 
> Sure, anacron is not installed. So how could stuff in /etc/cron.{daily,weekly}
> work until June
2009 Jun 01
2
ssh as root with and without private key
Hi.
I have a client machine using ssh as root via key authorization to a 
server. The client uses rsync to send backup data to the server. I 
use ForceCommand to allow only this activity when using key 
authorization.
But I also want to be able to ssh as root with a required password to 
do whatever I like.
So I thought that in addition to root, I'd make a rootback account:
  
2012 Apr 03
2
minute cron
Hi all,
CentOs has choosen anacron as default cron daemon.
I did not look further about the reasons, I think there are some good 
reasons.
I want to create a minute based set of scripts.
No much precision required, once a minute more or less 20 sec is OK.
Using anacron, how do you recommend to do it?
Is anacron the right tool? Otherwise what's the right tool?
-- 
RMA.
2017 Jul 20
0
Cron sending to root after changing MAILTO
Well, I feel silly.? There are three places MAILTO can affect crond: /etc/crontab, /etc/crond.d/0hourly, and /etc/anacrontab.? Once I set this in these 3 files, I started getting mail from crond.? Thank you all for your help.
 
---
Chad Cordero
Information Technology Consultant
Enterprise & Cloud Services
Information Technology Services
California State University, San Bernardino
5500
2017 Jul 20
0
Cron sending to root after changing MAILTO
On Thu, July 20, 2017 8:54 am, Richard wrote:
>
>> 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
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;
2017 Jul 19
5
Cron sending to root after changing MAILTO
It?s being rejected before it even reaches the mailbox, so forwarding won?t work.? Crond should really be using the MAILTO variable and it?s not.
 
---
Chad Cordero
Information Technology Consultant
Enterprise & Cloud Services
Information Technology Services
California State University, San Bernardino
5500 University Pkwy
San Bernardino, CA 92407-2393
Main Line: 909/537-7677
Direct
2009 Apr 16
0
Using rsync for a backup program but having trouble getting --exclude-from to wor
Try adding a star at the end.  eg : /home/bob/.mozilla/firefox/*
If this is still not excluding as you expect then please let me know.
On 16/04/2009, at 8:19 AM, Robert Parker wrote:
> Reading and re-reading the man page has got me nowhere with this issue
> and searching your site on '--exclude-from' got me to the same place.
>
> Here is the script I am using:
>
2009 Apr 15
2
Using rsync for a backup program but having trouble getting --exclude-from to work properly
Reading and re-reading the man page has got me nowhere with this issue
and searching your site on '--exclude-from' got me to the same place.
Here is the script I am using:
####################################
#/bin/bash
suffix=`date +%Y%m%d`
echo Suffix is "$suffix"
fromdir=/home/bob/
echo Source dir is "$fromdir"
todir="$maxtor6"BackupOfHome
2017 May 10
1
strange system outage
On Wed, May 10, 2017 at 3:05 PM, Alexander Dalloz <ad+lists at uni-x.org> wrote:
> Am 10.05.2017 um 20:40 schrieb Larry Martell:
>>
>> I have a CentOS 7 system that I run a home grown python daemon on. I
>> run this same daemon on many other systems without any incident. On
>> this one system the daemon seems to die or be killed every day around
>> 3:30am.
2012 Nov 23
2
centos 6.3, cron and mail script output
Hi all
I have a '/etc/cron.daily/push-to-backup' script which the content is:
   #!/bin/bash
   /usr/bin/rsync [... long options line ...]
   echo "finished pushing to the backup"
Launched manually, it's OK.
Waiting for cron to execute it,
In the "/var/log/cron", I see the starting time and the finish time, and 
I see it take about 10 minutes to make the job.
2006 Jan 09
2
Scheduling tasks using cron...
Hi all.  Can anyone help me with scheduling tasks?  I'm running 
Centos4.2 (updated via yum starting from 4.0).  I know I have vixie-cron 
and anacron packages installed (came like that, from first install, I 
guess).  I read the crontab syntax man page (man 5 crontab) and I made 
an entry as a normal user (using crontab -e) that looks like the following:
30 0 9 1 1 /bin/ls -F /home/jose >
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 =
2012 Jan 07
0
fcron scheduler
Hi,
Is fcron scheduler available in CentOS 5.6 Server ? I did yum search fcron
and it does not return anything.
As per http://fcron.free.fr/description.php
Fcron is a scheduler. It *aims at replacing Vixie Cron*, so it implements
most of its functionalities.
But contrary to Vixie Cron, fcron *does not need your system to be up 7
days a week, 24 hours a day* : it also works well with systems
2005 Feb 08
3
multiple sources, multiple passwords
Hello,
Is it possible to have one password per source with Icecast 2.2.x ?
How to ?
-- 
ASPO Infog?rance       http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orl?ans et alentours (France).
T?l : 02 34 08 26 04 / 06 33 26 13 14