Displaying 20 results from an estimated 3000 matches similar to: "CentOS 5.3 cron / crontab missing?"
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 >
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,
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 Nov 24
1
slow network throughput, how to improve?
would like some input on this one please.
Two CentOS 5.5 XEN servers, with 1GB NIC's, connected to a 1GB switch
transfer files to each other at about 30MB/s between each other.
Both servers have the following setup:
CentOS 5.5 x64
XEN
1GB NIC's
7200rpm SATA HDD's
The hardware configuration can't change, I need to use these servers
as they are. They are both used in production
2009 Jul 22
1
can ping domU VPS, but can''t SSH into it
Hi all,
A client just phoned me and said he could not SSH into his VPS, yet he
can ping it. So, I login to the host node, and check it out, can''t SSH
into. I shutdown iptables on the VPS (via xm console serverza.vm) but
still can''t SSH into it. I restart the VPS, still can''t SSH into it.
So, I check the host, and found this in /var/log/messages:
Jul 22 19:19:07
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.
2011 Feb 22
6
how to optimize CentOS XEN dom0?
Hi,
I have a problematic CentOS XEN server and hope someone could point me
in the right direction to optimize it a bit.
The server runs on a Core2Quad 9300, with 8GB RAM (max motherboard can
take, 1U chassis) on an Intel motherboard with a 1TB SATA HDD.
dom0 is set to 512MB limit with a few small XEM VM''s running:
root@zaxen01:[~]$ xm list
Name ID
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
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
2011 Feb 22
6
how to optimize CentOS XEN dom0?
Hi,
I have a problematic CentOS XEN server and hope someone could point me
in the right direction to optimize it a bit.
The server runs on a Core2Quad 9300, with 8GB RAM (max motherboard can
take, 1U chassis) on an Intel motherboard with a 1TB SATA HDD.
dom0 is set to 512MB limit with a few small XEM VM's running:
root at zaxen01:[~]$ xm list
Name ID
2009 Nov 21
4
crontab problem
Hi;
I have the following in crontab -eu root:
@daily /usr/local/bin/mysql-backup-
daily.sh
@weekly /usr/local/bin/mysql-backup-weekly.sh
@monthly /usr/local/bin/mysql-backup-monthly.sh
[root at 13gems globalsolutionsgroup.vi]# ls /usr/local/bin/mysql-*
/usr/local/bin/mysql-daily.sh /usr/local/bin/mysql-monthly.sh
/usr/local/bin/mysql-weekly.sh
These scripts worked on another server. The daily
2009 Jun 10
3
Crontabs
Hey list,
I have several crontabs set up to run at night and I'm not convinced
they are running but of course, I'm not here to see for sure!
The crontabs are like the following example;
30 20 * * * sh /home/a_user/nightlyscrips/nightly_script_1 >
/home/a_user/nightlyscripts/`date +%d-%m-%Y--%H-%M-%S`.log
However, if this would have successfully ran last night I would surely
expect to
1996 Dec 15
0
vixie-crontab for redhat linux
/* vixie crontab buffer overflow for RedHat Linux
*
* I dont think too many people know that redhat uses vixie crontab.
* I didn''t find this, just exploited it.
*
*
* Dave G.
* <daveg@escape.com>
* http://www.escape.com/~daveg
*
*
*/
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#define
2006 Jul 18
2
Vulnerability in vixie cron?
Hi,
Recently there have been advisories and patches for
SuSE and RedHat (and probably a few others) regarding
a vulnerability in Vixie Cron. The details say that
there's insufficient checking of the return value of
setuid, which can lead to priviledge escalation and
lets users run cron jobs with root priviledges.
As far as I know, FreBSD also uses Vixie Cron (at least
the cron(8) manpage
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
[Mod: Sent to linux-security instead of linux alert -- alex]
Dave G. <daveg@ESCAPE.COM> wrote:
> /* vixie crontab buffer overflow for RedHat Linux
> *
> * I dont think too many people know that redhat uses vixie crontab.
> * I didn''t find this, just exploited it.
The vulnerability involves an unguarded sscanf call in env.c. Enlarging
the buffer to the largest
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.
1998 Feb 05
0
vixie cron 3.0.1 continued
The problem with vixie cron is wider (and more funny) than I expected.
Here''s my proggy which allows hiding files of any kind and size into
crontab entries (remember, quota is ignored ;-):
-- cron_put --
#!/bin/bash
echo "Vixie cron 3.0.1 file storage - put utlility"
echo "by Michal Zalewski <lcamtuf@staszic.waw.pl>"
echo
if [ "$1" = "" ];
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
2007 Mar 13
2
cat cron jobs into crontab
Hi,
What's the best/safest way to "cat" the following job into crontab?
*/3 * * * * /usr/lib64/nagios/plugins/check_megaraid_passive.sh >
/dev/null 2>&1
I am used to doing this manually via crontab -e, but now I simply have
too many centos servers to build in a given week (get to toss another
120K at some more 2U chenbro/tyan/amd64's -w000ooo).
-karlski