Crontab [TechTrav Wiki]

Site Tools


tech:unix:crontab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tech:unix:crontab [2020/07/03 13:52] travistech:unix:crontab [2020/07/30 00:06] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Crontab ====== ====== Crontab ======
  
-{{howhard>1}} If you're from Windows World, crontab is Unix's Task Scheduler, only it's better.+{{howhard>1}} If you're from Windows World, crontab is Unix's Task Scheduler, only it's better. You'll hear crontab referred to as cron and cronjob.
  
-On macOS, you can install a crontab for your local user by running the following (using the nano editor)+===== Install Crontab ===== 
 + 
 +On macOS (and this should work on any other *NIX), you can install a crontab for your local user by running the following (using the nano editor)
  
 <konsole> env EDITOR=nano crontab -e </konsole> <konsole> env EDITOR=nano crontab -e </konsole>
Line 21: Line 23:
  
 Press CTRL+O and CTRL+X to save and exit. Press CTRL+O and CTRL+X to save and exit.
 +
 +===== Remove Crontab =====
 +If you need to remove a single entry, you can edit your crontab with ''env EDITOR=nano crontab -e'' which is standard editing mode.
 +
 +If you want to eliminate the crontab entirely, run the following:
 +
 +<konsole>
 +crontab -r
 +</konsole>
 +
  
  
tech/unix/crontab.1593798745.txt.gz · Last modified: 2020/07/30 00:06 (external edit)

technology is not a panacea