Reputation: 31
I have a PSGI script using plack builder which is being executed using uwgsi by having multiple processes spawned. I have to refresh every minute an internal hash by using a database call. Is it somehow possible, independent from outside process/worker execution, to have some code lines being executed every given intervall?
Upvotes: 2
Views: 84