Submitted by yngens on Sun, 08/20/2017 - 21:12
I am not sure if the following line is injected into cronjobs file by Virtualmin or Webmin, but anyway instead of listing all the 5th minutes of an hour like now:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /etc/webmin/status/monitor.pl
its syntax could be shortened to just:
*/5 * * * * /etc/webmin/status/monitor.pl
Status:
Closed (works as designed)
Comments
Submitted by JamieCameron on Mon, 08/21/2017 - 09:51 Comment #1
Sure, you can edit the cron spec to use the */5 format. The reason Webmin doesn't do this by default is that not all cron versions (especially on non-Linux systems) support the */N format, so I chose to use a single format that is guaranteed to work everywhere.
Submitted by yngens on Mon, 08/21/2017 - 18:32 Comment #2
I believed the proposed format is effective for all *nix systems. Closing...