Displaying 20 results from an estimated 20000 matches similar to: "way to create a parent directory if it doesn't exist?"
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 {
2008 Sep 11
3
cfengine and crontab
The docs to installing cfengine refers to /var/spool/cron/crontabs/root
That doesn't exist. Nor does /etc/crontab. Heck I remember that from the
"old days", now there are lots of cron entries, in /etc but no crontab.
Not installed by default. So, I'm hunting that one down. Nate, what did
you wind up doing?? Ric
--
----------------------------------------------------
My father,
2007 Jul 02
1
crontab provider in 0.23.0
Hi,
I also met an error in crontabs:
Could not prefetch "NilClass"rovider crontab: undefined method `each''
for nil:NilClass
this is on freeBSD. 0.22.4 was working fine on the very same host. Any
idea ? The crontab binary is there but it seems puppet does not find
the right provider in this version ?
--
Cordialement,
Ghislain
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
>>
2012 Jul 09
6
Crontab overwritten by Puppet
Hello folks..
I suddenly found the crontab on one of my puppet clients overwritten. It
had many entries, including one created by Puppet. Suddenly during one run
it was overwritten, keeping only the Puppet entry and removing everything
else. Nothing changed between the previous runs and the one that re-created
the crontab in terms of configuration. I''m running Puppet 2.7.6.
Fri Jul
2004 Aug 10
3
[PATCH] Tighten /etc/crontab permissions
Hi folks,
While investigating OpenBSD's cron implementation, I found that they set
the systemwide crontab (a.k.a. /etc/crontab) to be readable by the
superuser only. The attached patch will bring this to FreeBSD by moving
crontab out from BIN1 group and install it along with master.passwd.
This change should not affect the current cron(1) behavior.
Cheers,
--
Xin LI <delphij frontfree
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
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
2009 Mar 11
3
Intermittent NFS problems with NetApp server
I've been experiencing some intermittent problems accessing at NetApp
server via NFS and automount. I'm running CentOS 5.2 (fully updated)
on all my servers and workstations. Usually, everything is working
just fine, when suddenly we get the following error:
/bin/sh: /home/epd/srcref/swtools/Crontabs/
run_release_requests.sh: Permission denied
This is actually an email from
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
2007 Jan 29
1
Run command when file changes
I am writing a definition that installs a crontab. I would like it to
run the command only when the downloaded file changes. I am using
"subscribe" but it doesn''t seem to do the job. The exec command is
run every time.
define crontab($host = $hostname) {
$path = "/tmp/$name.$host.cron"
remotefile { $path:
source =>
2021 Nov 17
3
stupidly simple crontab problem
Hi all,
This is crazy but I can't see the answer.? In my system crontab I've
added a job to stop the music system at 10:59 on the 11th November, and
restart it at 11:02 on the 11th November
# m??? h??? dom??? mon? dow??? user??? command
? 59? 10???? *???? 11??? *???? root???? /bin/squeezy -all -off
>>/var/log/newplaylist 2>&1
? 02? 11???? *???? 11??? *???? root????
2001 Nov 12
4
Openssh 3.0p1/Solaris 8 problems still...
Currently under solaris 8 with a fairly generic build:
CC="cc" ./configure \
--prefix=/opt/openssh \
--sysconfdir=/var/ssh \
--with-rsh=/usr/local/etc/rsh \
--with-ipv4-default \
--with-ssl-dir=/usr/local/ssl \
--with-ipaddr-display \
--with-pam \
--with-pid-dir=/var/ssh
cron will quit working since ssh hasn't
2006 Sep 27
2
sendmail maillog rotation on centos 4
Hi,
I'm trying to figure out which process is rotating my maillog every
Sunday at 4:03 am. This happens on all of my centos 4 boxes.
AFAICT, logrotate is not running. This is from a fairly minimal
install, so I'm assuming this is a default process.
---
[root at penguin ~]# ls -l /var/log/maill*
-rw------- 1 root root 230603836 Sep 27 16:30 /var/log/maillog
-rw------- 1 root
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
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 Aug 19
2
file type when you create directory inside throw
Hello,
I have a strange problem this nigth that i cannot solve, perhaps you
can help me understand what is wrong.
I have a file type that upload a directory into my servers. Inside this
uploaded directory i create subdirectory and files on my own (directly
on the target host). The problem is that when puppet comes back to the
directory it spills out this error:
err:
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
2005 Dec 04
3
Cron
I have several crontabs running at various times of the day and night.
All generate copious output. All the jobs produce copious output, and
some of them I need to see, while others are 's are just a pain in the
butt to have t look at. is there some method I can use to
selectively monitor cron's output of the one's I want to, while ignoring
the others? Thanks...
Sam
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,