Re-write cronjob for Webmin monitor to make it shorter

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

See https://crontab.guru/every-5-minutes

Status: 
Closed (works as designed)

Comments

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.

Status: Active ยป Closed (works as designed)

I believed the proposed format is effective for all *nix systems. Closing...