Monday, December 12, 2022

Linux - Anacron

The following is a Linux dictionary word of the day:

anacron used to run commands periodically with the frequency defined in days, weeks and months. The default location where the file which hold these jobs is in /etc/anacrontab.

-d parameter runs jobs in foreground so they can be seen.
-f parameter to force jobs to execute.
-h parameter to print short usage message then exits.
-n parameter to run jobs now.
-V parameter to print version information then exits.
-T parameter used to test the syntax of the anacron command.

Example: anacron -d -f

No comments:

Post a Comment