Schedule Future Tasks Flashcards
Show a conf file of a systemctl service or time
systemctl cat sysstat-collect.timer
Enable a service through a timer
systemctl daemon-reload
systemctl enable –now touchfile.timer
OR
systemctl start touchfile.timer
Check if a timer is enabled
systemctl status touchfile.timer
Schedule a job with at 5 mins from now
at now +5min < command/script
Show pending at jobs
atq
Inspect command of an at job
at -c JOBNUMBER
Assign a queue to a at job
at -q g 5pm
List cronjobs for current user
crontab -l
Remove all jobs for current user
crontab -r
Edit (add) jobs for the current user
crontab -e
Where is anacron located
/etc/anacrontab
Where are daily, weekly and monthly anacron jobs located
/var/spool/anacron
rpm provided tmpfiles.d location
/usr/lib/tmpfiles.d/
where to place your own config file for systemd-tmpfiles
/etc/tmpfiles.d/
system created config files for tmpfiles.d
/run/tmpfiles.d/