All Questions
32
questions
16
votes
2
answers
7k
views
Can I specify a specific time with seconds with Linux crontab?
49 18 * * * mpv ~/Musik/Donau.mp3
This command would play the Donau.mp3 file at exactly 6:49pm. How could I, for example, specify 6:49:50pm?
1
vote
2
answers
573
views
Cron Job command - understanding
I am using a cron job, received from one of my suppliers, in order to create/update the products data, stock, status, in my Woocommerce website.
I have installed their plugin, all verification are ...
0
votes
2
answers
524
views
Output of 'date +%a' always in system-language?
Does date +%a output always the weekday in the system language?
No matter if in bash, sh or cronjob
1
vote
0
answers
151
views
Lynx-dump cron job not working after installing SSL certificate
I have a cron job that has always worked fine, until we installed an SSL certicate and updated our .htaccess file to redirect all http requests to https. Now, the cron job is not working and I'm ...
1
vote
1
answer
809
views
How would I make a cron job stop and start again?
I am trying to make a cron job that stops at 12am today(friday) then start again Monday at 7am, what would the script for this look like, I am new to cron jobs.
0
votes
0
answers
1k
views
Terminal with a command line switch --minimized (or --min etc.)
I am trying tu run terminal commands so a terminal window is shown only in a task bar or even not shown at all. There are some approaches of it with xdotool or wmctrl but they work so the window ...
1
vote
0
answers
1k
views
McAfee Endpoint Security for Linux Threat Prevention cannot schedule ODS-Tasks [closed]
McAfee Endpoint Security for Linux Threat Prevention, Version : 10.5.4.106
We are working on a Linux server with a pre-installed McAfee. The regular ODS-Scanning has been really annoyed us. So we've ...
0
votes
1
answer
387
views
How to know why crontab job is not executed
I have set several cron jobs. I recently added a new cron job that copies a file of last day from another server and is executed each day (for example at 06:00 am) but when I check next day the file ...
0
votes
1
answer
540
views
Crontab does not launch when log out
On a google Cloud Ubuntu VM, I have setup few crontab like below :
0 15 * * * sudo /home/username/bin/python /home/username/project27/scheduler/batch.py &>> /home/username/project27/...
0
votes
1
answer
255
views
Linux: cPanel queued mail stop
I got a serious mistake: I have a cronjob to send bulk email to my customers, but accidentally it worked and now some of our customers recieving the mails, I already deleted the cron job and deleted ...
1
vote
0
answers
93
views
Rebooting a Linux server with best practices. Should I save what?
I would like to know what steps should I take before rebooting a Linux server to avoid losing the configuration. Example: I made a rule with iptables manually, did not add to rc.local. This won't ...
1
vote
1
answer
949
views
Many cron -f processes on unresponsive server
My Debian server had again become unresponsive and needed to be restartet (SSH login impossible, no longer transmitted log data to another server's MySQL Database, no new FTP connections possible, but ...
0
votes
1
answer
383
views
Cron strange behaviour
I've got a Bash script with all the permission to be excecuted, I attach it to to a cron job, this script basically only kills and restarts a specific process. The strange behaviour is that if I run ...
1
vote
1
answer
62
views
Trigger a command upon every `crontab -e` edit
We are using a shared Linux server account where as everyone comes and edits the crontab. Usually we take a backup like this
crontab -l > `date +\%Y-\%m-\%d\_\%H:\%M:\%S.txt`
Is there an elegant ...
0
votes
1
answer
1k
views
cron job to run for last few days of month (possibly into next)
I'm trying to setup a cron job that will run from the 29th, for 4 days each quarter (Jan/Apr/Jul/Oct).
I've setup the following…
*/10 6-17 29-31 1,4,7,10 1-5 php script.php
*/10 6-17 1 5 1-5 php ...