mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-16 10:05:12 +00:00
Fix wrong alarm selection
This commit is contained in:
parent
66b038e394
commit
883143f204
@ -2880,7 +2880,7 @@ local Sync = ( function
|
||||
end
|
||||
|
||||
print(type(now()))
|
||||
local nalarm = type(self.nextCronAlarm) == "userdata" and self.nextCronAlarm.seconds or nil
|
||||
local nalarm = nil
|
||||
for i, c in ipairs(self.cron) do
|
||||
local na = c:get_next_occurrence(timestamp.seconds)
|
||||
print("na", timestamp.seconds, na)
|
||||
|
Loading…
Reference in New Issue
Block a user