Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Registrar-se

Entrar


Todos Novo Registrar-se Entrar

All gists matching topic cron

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
anthony's Avatar

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

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1751433263
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"
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 58ms⋅

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