Questions tagged [cron.daily]
31 questions
1
vote
4 answers
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 script and be be able to run this nightly everyday.…
su
1
vote
0 answers
Crontab not running @reboot
I have ubuntu server with crontab that is supposed to run mkdocs in tmux at reboot.
Worth noting is that I configure crontab by going into crontab -e.
Line is:
@reboot /usr/bin/tmux new-session -d -s "MKDOCS" "cd /root/mkdocs && mkdocs serve -a…

Perovic
- 21
- 2
1
vote
2 answers
Certwatch Falsely Reporting an Expired Cert
This is a bit of a weird one.
Every morning I get an email telling me one of my certificates is expired.
################# SSL Certificate Warning ################
Certificate for hostname '*.floodtrack.com', in file (or by nickname):
…

scarville
- 51
- 6
0
votes
1 answer
Cron Job for deleting daily apache Log
on my Ubuntu cloud server often happens when i visit apache log fiiles to be 5-10 GB in a day or two, i'm a user of vestaCP and destination of log files is: var/log/apache/domains/domain.error.log and file domain.log
Also I have the same problem,…

Edgar
- 17
- 4
0
votes
2 answers
Crontab entry executing every hour
What does this line mean in /etc/crontab file ?
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly

Xavier123
- 11
- 1
- 2
0
votes
0 answers
Which update scheme is better for an unattended Ubuntu server
I'm in a situation where I have to deploy an ubuntu server for a Client (they do not have a Sysadmin), and it will serve as an HTTP API backend for an app.
The catch is that after the deployment they no longer allow me to have remote SSH access to…

Sevron
- 131
- 1
- 5
0
votes
1 answer
cron.daily not running at the time it should?
My /etc/cron.daily scripts seem to be executing far later from what I understand they should. I am in Ubuntu and anacron is installed.
If I do a sudo cat /var/log/syslog | grep cron I get something like:
Aug 23 01:17:01 mymachine CRON[25171]:…

Mariano Martinez Peck
- 247
- 4
- 11
0
votes
3 answers
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 on the hour and at 35 mintues every hour.
I don't…

landed
- 153
- 1
- 7
0
votes
4 answers
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 it seems not working..
Where am I wrong?

elect
- 203
- 4
- 17
0
votes
1 answer
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 stop checking for Clamav? Where is the cron job…

Ubuntu User
- 71
- 2
- 3
- 11
0
votes
1 answer
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 => Backup => Configure Backup)
// i dunno why i see this…

Utku Dalmaz
- 1,329
- 2
- 13
- 18
0
votes
0 answers
Dillon's dcron SYNC and ASYNC
The specific question for cron using Dillon's minimalist cron version is:
How to create a cron job that runs every first Friday of the month, in ASYNC mode?
Dillon's cron attempts to mix synchronous cron (the traditional) and asynchronous (anacron…

DrBeco
- 109
- 6
0
votes
1 answer
Error when I execute crontab in linux
I'm executing a crontab where it call the script of python and the crontab are executing very well, but when I execute the crontab I need its will create other file in another directory, but that doesn't do what I want.
But when execute manually…

CristianDAG
- 103
- 2
0
votes
0 answers
/etc/cron.daily/ what this command is doing?
Could you help to explain what this command is doing?
printf '#!/bin/sh\n\find /opt/traccar/logs -mtime +5 -type f -delete\n' > /etc/cron.daily/traccar-clear-logs && chmod +x /etc/cron.daily/traccar-clear-logs

tree em
- 99
- 3
-1
votes
1 answer
php core script not getting called from Crontab
I am using core PHP and written a simple script that needs to be called automatically. For testing purpose I have just written a print statement as below,
$host = 'localhost';
$user = 'admin';
$pass = 'password';
$db = 'TestDB';
print ($user);
When…

user595016
- 1
- 1