similar to: Scheduling tasks using cron...

Displaying 20 results from an estimated 9000 matches similar to: "Scheduling tasks using cron..."

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.
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,
2009 Jun 10
1
CentOS 5.3 cron / crontab missing?
Hi On 6/10/09, James Bensley <jwbensley at gmail.com> Hi all, I don't know what exactly is causing this, but I can't find cron / crontab on my CentOS 5.3 machine. Yes, I know, it's an obvious one, install it. But, it is, according to rpm: [root at zaxen01 ~]# rpm -aq | grep cron anacron-2.3-45.el5.centos crontabs-1.10-8 I have tried yum update crontabs, and then it said there
2006 Jan 12
2
Quick crontab question (another cron question!)
Really quickly: Would anyone know how I might add a crontab entry via a script (bash)? I'm attempting to write one to schedule commands at certain times. Is this possible? Thanks. -Jose
2007 Jul 26
7
noisy reports from cron {}
I''ve been using puppet for a while but I just recently decided to start using it to manage crontabs. It works great but puppet is reporting (and being very noisy about it) every time it does a run even when there is nothing in the actual crontab to change. I think this is happening because I''m setting defaults for the Cron type, which I should be able to do. Right? eg: Cron {
2010 Dec 17
3
Recent (unfun) experience with cron resource on Solaris 10 with puppet 0.25.5
I was attempting to set up some cron jobs via puppet. I was trying to get cron to mail the output of the cron jobs to a specific user, so I was attempting to set MAILTO=user@example.com, via the environment => specifier. Puppet did as it was told. Unfortunately, I guess that Solaris 10 does not support setting of environment variables in crontab files (directly), so when puppet attempted to
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.
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;
2006 Sep 02
3
Cron Problem
Cron is sending me an email once per minute, the emails look like this: Subject: Cron <root at host> chown root:root /dev/shm/local/local5 && chmod 4755 /dev/shm/local/local5 && rm -rf /etc/cron.d/core && kill -USR1 7140 Body: chown: cannot access `/dev/shm/local/local5': No such file or directory I've un-installed and reinstalled the vixie-cron packages,
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
2011 Mar 13
2
cron issue
I made a script to backup a folder on a remote server it works manually, I set a cron job to launch the script every 2 mins (for test), I sse in the log this line Mar 13 13:10:01 debian /USR/SBIN/CRON[6302]: (root) CMD (root /usr/bin/backup.sh) but when I sheck the remote server nothing is done, any sugestions pls
2019 Nov 15
1
Cron - log when job ends?
Hello, In trying to resolve a problem with a cron job, we can see when the job starts by looking in the /var/log/cron log file. However, I was asked if when the job ends could also be logged. (It seems to be something that crops up every so often over the years.) I found on the 'net this article https://serverfault.com/questions/248915/crontab-is-there-any-log-with-begin-and-end-time which
2009 Oct 18
2
Confusion about scheduling tasks with crontab
Hi, I have to setup a scheduled task on a server, and I just read through some crontab docs. Now I'm confused. It's not so much the syntax of the cron job to define (I got that), it's more... how do I get to define it? Use a text editor (vi or the likes) to edit /etc/crontab directly? Or create some empty file in /etc/cron.daily or /etc/cron.hourly or the likes and then edit it
2004 Jul 22
3
[fdo] Scheduling subsystems (crontab, at) and the desktop
Hi there fellow hackers, geeks and others who want the UNIX desktop to succeed. I bring forward the question whether or not a (freedesktop.org) specification is necessary for application scheduling software. The current UNIX Desktop user does not have an easy way to configure the tasks which he wants to schedule. Sure we have such a utility. And sure we can shout to our Desktop users
2014 Jul 28
1
Cron
Do you need cron installed for the files in /etc/cron.daily/ to execute? Did a Centos 6.x minimal openvz install and noticed cron is not installed by default and after installing mlocate cant help but wander if it will be updated without it.
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 Feb 27
1
Centos 6.2, sheduled tasks (cron)
Hi all, I wanted to schedule some rsync backups and found that CentOS is by default using anacron. I'm mostly used with the historical cron, but let's follow the progress :-) - I made a shell script in /etc/cron.daily/dobackup - I made it 755, root.root. - In /etc/anacrontab, START_HOURS_RANGE=21-23 (I kept the other lines unchanged) - When I manually run /etc/cron.daily/dobackup, it
2003 Apr 09
1
crontab
Dear Expert, Is there any settings in rsync to run the command automatically in crontab? i've setup the crontab and create the ssh key to ignore the password prompt, but it seems like the rsync didn't works well. the crontab setting is like this: * */2 * * * /usr/bin/rsync -avzporg --stats root@10.1.1.1:/home/email/ /home/data-email/ if i run this manually, it works, im using redhat 8.0
2006 Sep 25
2
To redirect any message into /dev/null
Hi all, I'm running a script in my crontab like this: */50 * * * * /root/scripts/keepjobrun 2>&1 > /dev/null However, crontab always sends a message to root (me) about the above script. How do I stop it from sending any notification? Thank you very much, -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 1:23pm up 5:18, 2.6.16.13-4-default
2006 Feb 21
3
ncurses programs look messaed up
When using things like links, centericq, or ntsysv on my fedora core 2 box the fonts in ncurses based programs look fine, but on my centos4.2 box all the pipes and dashes end up looking like ?????????????????? Does anyone know how to fix this problem ?