but it wasn't clear if that would guarantee that the task would run once and only once on every node. I was able to demonstrate that if NUMNODES was greater than the number of actual nodes the task was scheduled multiple times on the node.
One workaround is to use a normal "system" job and have an external cron script call 'nomad run cleanup.nomad', but that doesn't seem very elegant.
Allowing periodic jobs to use the "system" scheduler would be very useful. As before, if there is agreement on this feature request I'm happy to go off and try to implement it. If there are alternate approaches to this let me know.