mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
refactor(server/cron): reduce wait to reschedule task
Was a hacky solution to an obsolete issue.
This commit is contained in:
@@ -245,7 +245,7 @@ function OxTask:scheduleTask()
|
|||||||
print(('(%s/%s/%s %s:%s) ran task %s'):format(currentDate.year, currentDate.month, currentDate.day, currentDate.hour, currentDate.min, self.id))
|
print(('(%s/%s/%s %s:%s) ran task %s'):format(currentDate.year, currentDate.month, currentDate.day, currentDate.hour, currentDate.min, self.id))
|
||||||
end
|
end
|
||||||
|
|
||||||
Wait(30000)
|
Wait(1000)
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user