crontab
Rotation of logs by size
There is a setting logrotate for rotating logs when they reach 1GB. But the logs are not automatically rotated when they reac ... p; kill -HUP $(cat /run/syslogd.pid)
# postrotate script should always return 0
true
endscript
}
Setting up cron.php
Could you help us solve the problem?
there is an advertising service adsvt.ru, need to configure cron.php
There are 2 functio ...
$query = $mysqli->query("DELETE FROM `" . PREFIX . "_blocks_view` WHERE time_add < (CURDATE()-2)");
echo 1;
}
Cron and percent sign
I write the crontab command in the file
длинная команда $(date +%Y%m%d%H%M%S) продолжение
When cron starts execution, it sees only this part of
длинная команда $(date +
Everything after + it doesn't see.
How can this be overcome?
run shell file on ubuntu by crontab
I am trying to make a task schedule on linux to run a file sh, however, it does not run by crontab, but runs when I do in han ... ; Script.log 2>&1)
Shell script settings:
#!/bin/bash
zenity --info --text "SELAMAT";
ESE script opens a popup.
Configure Cronjob to run every 5 minutes, when it is between 5 and 20 hours
I need to make a setup for my cronjob to work every 5 minutes. However, if the time of day is before 5and greater than 20 I d ... is:
0,30 * * * * php ~/pasta/para/app/artisan queue:work
What change should I make to make it work the way I want it to?