mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
20 lines
546 B
TOML
20 lines
546 B
TOML
[metadata]
|
|||
|
|
name = "crontab"
|
||
|
|
description = "List and manage crontab entries"
|
||
|
|
|
||
|
|
[source]
|
||
|
|
command = "crontab -l 2>/dev/null | grep -v '^#' | grep -v '^$'"
|
||
|
|
no_sort = true
|
||
|
|
frecency = false
|
||
|
|
|
||
|
|
[preview]
|
||
|
|
command = '''echo 'Schedule: {split: :..5}' && echo '' && echo 'Command:' && echo '{split: :5..}' '''
|
||
|
|
|
||
|
|
[ui]
|
||
|
|
layout = "portrait"
|
||
|
|
preview_panel = { size = 30, border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } }
|
||
|
|
|
||
|
|
[actions.edit]
|
||
|
|
description = "Open crontab for editing"
|
||
|
|
command = "crontab -e"
|
||
|
|
mode = "execute"
|