Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab Gist con l'argomento dato

Registrati

Entra

Tutti Nuovi Registrati Entra

Tutti i gist corrispondenti all'argomento cron

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
anthony's Avatar

anthony / Установить cron-задание bash-скриптом

0 mi piace
0 forks
1 files
Ultima volta attivo 10 months ago
bash cron crontab shell
1 #!/bin/bash
2
3 cat <<EOF | sudo tee /etc/cron.d/foobar && crontab -u "$(whoami)" /etc/cron.d/foobar
4 # ------------- Minute (0 - 59)
5 # | ----------- Hour (0 - 23)
6 # | | --------- Day of month (1 - 31)
7 # | | | ------- Month (1 - 12)
8 # | | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
9 # | | | | |
10 # * * * * * "command to be executed"
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 32ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文