Horje
cron Code Example
cron
*/15 * * * * YOUR COMMAND >/dev/null 2>&1
cron
sudo systemctl status cron
cron
crontab -e						# to edit
10 * * * * /bin/sh backup.sh    # every hour at 10"
0 */4 * * * /bin/sh backup.sh   # every 4 hours at 0"
0 9-17 * * * /bin/sh backup.sh  # every hours at 0" between 9 and 17
0 2 * * * /bin/sh backup.sh     # daily at 2am
0 0 * * MON /bin/sh backup.sh   # every Monday at 0am
0 0 * * 1-5 /bin/sh backup.sh   # daily from Monday to Friday at 0am
0 0 * * 0 /bin/sh backup.sh     # weekly on Sunday
0 0 1 * * /bin/sh backup.sh     # monthly (1rst day at 0am)
0 0 1 */3 * /bin/sh backup.sh   # every quarter (1rst day at 0am)
0 0 1 1 * /bin/sh backup.sh     # yearly (01/01)




Shell

Related
dpkg: error processing archive /var/cache/apt/archives/influxdb_1.8.10-1_amd64.deb (--unpack): Code Example dpkg: error processing archive /var/cache/apt/archives/influxdb_1.8.10-1_amd64.deb (--unpack): Code Example
repozytoria ubuntu Code Example repozytoria ubuntu Code Example
ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at Code Example ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at Code Example
Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher Code Example Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher Code Example
tesract persian code Code Example tesract persian code Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11