Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

description:sync gists with given description

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

all:systemctl search all fields

Registrarse

Iniciar sesión

Todos Nuevo Registrarse Iniciar sesión

All gists matching topic cron

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
anthony's Avatar

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

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week 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"
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 31ms⋅

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