Difference between revisions of "Crontab Pointers"

From Origami_Wiki
Jump to navigation Jump to search
(Created page with "Step-by-step: Edit apache’s crontab Backup first sudo crontab -u apache -l > ~/apache_cron_backup_$(date +%Y%m%d).txt Open Editor sudo crontab -u apache -e When vi open...")
 
(No difference)

Latest revision as of 12:20, 20 October 2025

Step-by-step: Edit apache’s crontab

Backup first sudo crontab -u apache -l > ~/apache_cron_backup_$(date +%Y%m%d).txt

Open Editor sudo crontab -u apache -e


When vi opens:

Clear everything:

gg dG


Paste your fresh cron entries:

Save and exit:

wq


Confirm:

sudo crontab -u apache -l