There's more than one way to do things | |
PerlMonks |
Re^3: singleton lock not reliableby choroba (Cardinal) |
on Jun 25, 2021 at 14:23 UTC ( [id://11134283]=note: print w/replies, xml ) | Need Help?? |
> Writing a simple cyclic thingy isn't that hard. One of the advantages of cron is it's restarted when the machine is restarted or when it crashes for whatever reason. Instead of trying to achieve the same with a cyclic thingy, I'd rather go with crontab.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|