Questions tagged [cron.daily]
The cron.daily tag has no usage guidance.
8
questions with no upvoted or accepted answers
3
votes
0
answers
171
views
/etc/cron.daily/locate has blank line. File is readonly can't edit
I get this output every day.
/etc/cron.daily/locate:
run-parts: failed to exec /etc/cron.daily/locate: Exec format error
run-parts: /etc/cron.daily/locate exited with return code 1
File contents ...
1
vote
0
answers
1k
views
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 &...
1
vote
2
answers
273
views
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 '*....
1
vote
1
answer
281
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
1
answer
424
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
0
answers
113
views
/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....
0
votes
0
answers
45
views
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 ...
-1
votes
1
answer
52
views
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 = ...