The cron.daily tag has no wiki summary.
7
votes
6answers
2k views
Robustly disabling specific cron.{hourly,daily,weekly} script
On various systems that I administer, there are cron scripts that get run via the commonly-used /etc/cron.{hourly,daily,weekly} layout. What I want to know is whether there's any common 'disable this ...
1
vote
2answers
290 views
CentOS 6.2 cron.daily
I created a new file "dbbackup" in /etc/cron.daily that contains a simple database backup script.
#!/bin/sh
mysqldump -h localhost -u user -p'passord' database_name > ...
1
vote
4answers
502 views
find / -perm -4000 -o -perm -2000 > suid.. help with bash script to run nightly.?
help me with this this problem. so far i have "find / -perm -4000 -o -perm -2000 | xargs ls -l > suild.list" argument that i want to write as a bash script.
I would like to write this as a bash ...
1
vote
3answers
216 views
Logwatch sends me 2 copies of yesterday's server activity, why?
I use Logwatch to track what is going on on one of my Fedora 11 boxes. Since updating it from an older Fedora release I now get 2 copies of the same information to my inbox. I cannot find where this ...
1
vote
0answers
88 views
logrotate cron job not rotating certain logs
I added two scripts in "logrotate.d" directory for my application logs to be rotated.
This is the config for one of them:
<myLogFilePath> {
compress
copytruncate
delaycompress
dateext
...
1
vote
1answer
100 views
Cronjob not working properly on debian
I'm trying to run a PHP script everyday at midnight, so my cron has the following entry
@daily /usr/bin/php /websites/xxz/misc/wU5HaFre.php
/websites/xxz/misc/wU5HaFre.php has 755 rights, so it's ...
1
vote
1answer
157 views
preventing tmpwatch from clobbering archives that were “just” unpacked into /tmp
I have an application that unpacks an archive into /tmp, restoring the extracted files' modification and access times. Sometimes these files and the enclosing archive are many years old. After the ...
0
votes
4answers
136 views
Calling a specific URL daily
I need that every night at 2:00 am a call to a specific URl is made.
For this reason, I inserted in the cronotab services the following:
crontab -e
0 2 * * * wget -q -0 - "http://MYWEBSITE"
But ...
0
votes
3answers
79 views
What is wrong with this cron tab entry?
0,35 * * * * /home/scripts/backup.sh "daily backup"
what is wrong with my cron tab line it isn't working I didn't try @daily yet but wanted to make sure it is running so am running it at 0 minutes ...
0
votes
2answers
90 views
How to add cronjobs to /etc/cron.daily/
We have to use crontab -e to add a cronjob to crontab.
And crontab -r to remove cronjobs.
Here, no Copy & Paste not allowed.
I need to add a script to cron.daily, how to add?
0
votes
1answer
78 views
When will ANACRONTAB run cron.daily?
My RHEL has the following anacrontab config file, it has START_HOURS_RANGE and RANDOM_DELAY both missing, what hour does cron.daily start everyday? My guess is it is random. Is it true?
# ...
0
votes
1answer
399 views
CLAMAV Issue after i removed it
Here is my issue:
I removed clamav, spamassasin, and amavis and now I am getting this in my Citadel email box every day from some cron job that is searching for Clamav.
How do I amend the Cron job to ...
-1
votes
1answer
519 views
Confused by email messages from cron and logwatch
Actually I found these reports in server's mail queue. It repeats everyday i find 3 mails...
2 from Cron Daemon
[cpbackup] Backups are not scheduled to run today (This can be adjusted in WHM => ...