How can I configure aide linux to start at the selected time of the week, e.g. on Sundays at 9?
Asked
Active
Viewed 556 times
1 Answers
1
Do a which aide
and copy the result (assuming /usr/bin/aide
)
Add a line to crontab -e
with format
0 9 * * Sun /usr/bin/aide --check
OR to /etc/crontab
:
0 9 * * Sun {user} /usr/bin/aide --check
- (1st 5: minutes, hours, day of month, month, day)
- replace {user} by your username
- Sun can be replaced by either 0 or 7.

Rinzwind
- 299,756
-
https://drive.google.com/file/d/1JlPqMppN9jSeMkUlDbzsIYQ0rblXjYAv/view?usp=sharing – tomasz-groch Oct 07 '19 at 15:45
-
such an entry in crontab is ok? – tomasz-groch Oct 07 '19 at 15:46
-
1yes, for /etc/crontab if you want to test crontabs entries: https://crontab.guru/ :) – Rinzwind Oct 07 '19 at 17:46
-
why despite the changes crontab today aide started? – tomasz-groch Oct 09 '19 at 06:43
-
because you have something else that starts it? Like a service? – Rinzwind Oct 09 '19 at 11:13
-
How to check service? – tomasz-groch Oct 09 '19 at 12:19
-
How to check service? – tomasz-groch Oct 10 '19 at 09:07
-
you really should know how to check that. see for instance https://askubuntu.com/questions/795226/how-to-list-all-enabled-services-from-systemctl – Rinzwind Oct 10 '19 at 09:34
-
Aide has also started today. As in the picture you can see. I mean, I have to change the entry to the one in the top-process? – tomasz-groch Oct 11 '19 at 08:50
-
https://drive.google.com/file/d/1UN-cMR7WnDpAX-JhAhs5IvzUxgEsth7Q/view?usp=sharing – tomasz-groch Oct 11 '19 at 08:50
-
I still run the AIDE process every day, despite crontab asking for help what I did wrong. In the attachment there is a photo from "crontab -e". – tomasz-groch Oct 18 '19 at 05:09
-
https://drive.google.com/file/d/1EsRbk59GZui8exjiulqAug5s_HMuIYwF/view?usp=sharing – tomasz-groch Oct 18 '19 at 05:10
-
what process runs AIDE check? An entry in crontab does not help. – tomasz-groch Oct 19 '19 at 05:24