I need to make a setup so my cronjob works every 5 minutes. However, if the time of day is before 5 and greater than 20 I do not want it to run.
That is, I want to make a cron that runs every 5 minutes, but only in...
I'm trying to schedule a script I wrote in Python to run in crontab , but I'm not able to do it.
The script is simple thing, it makes a telnet connection through the terminal and sends some commands.
I was able to schedule a shellscript , howe...
I'm having a problem, I'm doing a bash script to run using crontab, which syncs my ssd files with the hd and dropbox.
Script:
#!/bin/bash -
PC_DIR="~/Programming"
DROP_DIR="~/Dropbox/Programação"
PC_FILES="$(find ${PC_DIR} -follow)"
DROP_...
I'm trying to do a task schedule in linux to run a sh file, however, it does not run by crontab , but it does when done in the hand.
I did a scheduling test to create a text file, it works, but to run sh does not.
Here...
I use crontab as follows.
0 * * * * wget -q -O /var/www/CronTab.txt https://www.meuseite.com.br/tarefa.php
So it always creates a txt file 'CronTab.txt' with the result, and if it has any errors it will write to the file.
The problem is...
I have a script in php that performs (should at least) some recordings in a txt:
25 11 * * 1-5 wget -q --spider http://10.24.0.42/felipe_projetos/DD/CREATE_TABLE.NULL.IN.php
However, recording does not occur. I suspect at first that the err...
Hello, I'm having problems executing the php document root directly in crontab
current rule working correctly
23 23 * * * sleep 33 & wget -t 1 -T 1800
link
Explanations
23:23 // run every day at eleven twenty-three
sleep 33...
I have a code that should be executed by a Cron function from Monday to Friday at 7 o'clock.
00 7 * * 1-5 php /var/www/html/felipe_projetos/Poc/ch_ch.php
This code should write some data in a txt, but this does not happen, when I run the pa...
Hello, I'm trying to generate a cronjob in Amazon Web Services (aws), tried it in several ways but it does not work. Here is the code:
* / 2 * * * * / usr / bin / curl link
using only
/ usr / bin / curl link
Direct works...
I'm trying to run a script through centos crontab, I'm doing this:
crontab -e
Then I put:
*/1 * * * * root /home/websites/public_html/admin/functions/open.sh
obs: Before doing this, add permissions to the file
chmod +x open.sh
I'm...