Crontab: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| | valign="top" | <syntaxhighlight lang="bash"> crontab -e sudo crontab -u <username> -e </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> crontab -r sudo crontab -u <username> -r </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> crontab -l sudo crontab -u <username> -l </syntaxhighlight> |} ==References== {| | valign="top" | * Raspberry Pi Apache2 Lets Encrypt SSL * [https://crontab.guru/every-night-at-midnight Linux Cron Every...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
'''Viewing a User's Crontab''' | |||
<syntaxhighlight lang="bash"> | |||
crontab -l | |||
sudo crontab -u <username> -l | |||
</syntaxhighlight> | |||
| valign="top" | | |||
'''Editing a User's Crontab''' | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
crontab -e | crontab -e | ||
Line 7: | Line 15: | ||
| valign="top" | | | valign="top" | | ||
'''Removing a User's Crontab''' | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
crontab -r | crontab -r | ||
Line 12: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo ls -alh /var/spool/cron/crontabs | |||
sudo | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| valign="top" | | |||
| valign="top" | | |||
|} | |} | ||
Line 47: | Line 63: | ||
* [[PyEnv]] | * [[PyEnv]] | ||
* [[TMux]] | * [[TMux]] | ||
* [[Tar]] | |||
| valign="top" | | | valign="top" | |
Latest revision as of 08:14, 28 June 2024
Viewing a User's Crontab crontab -l
sudo crontab -u <username> -l
|
Editing a User's Crontab crontab -e
sudo crontab -u <username> -e
|
Removing a User's Crontab crontab -r
sudo crontab -u <username> -r
|
| ||
sudo ls -alh /var/spool/cron/crontabs
|
References
| ||