If not, processes that take more than one unit will overlap eventually[0]
[0] Advent of code 2020, day 13. https://adventofcode.com/2020/day/13
So obvious primes such as 2, 3 and 5 won't do.
Like have a deterministic way of starting stuff that is not urgent, but has to be done in a certain window.
for example, I have cron jobs that run every night, and I run them at times like 2:13 am and 2:27 am.
it would be nice to say: run this at 2:<prime> at night, different every night
It would be nicer to say: run these groups of things at night, in order, but at randomized non-overlapping times or similar
There's also systemd timers which can replace cron jobs with RandomizedDelay.
Before that, people used to include a random sleep in the actual job.
Personally, I tend to not use these things and instead pick a random start time when provisioning the job. That way the time delta between run is constant, which is often desired.
> The next regular appearances will be in 2021 and 2038.
My friends, behold the parents of the 2038 bug.
> The emergence period of large prime numbers (13 and 17 years) was hypothesized to be a predator avoidance strategy adopted to eliminate the possibility of potential predators receiving periodic population boosts by synchronizing their own generations to divisors of the cicada emergence period. Another viewpoint holds that the prime-numbered developmental times represent an adaptation to prevent hybridization between broods with different cycles during a period of heavy selection pressure brought on by isolated and lowered populations during Pleistocene glacial stadia, and that predator satiation is a short-term maintenance strategy.
Wow.