Improvement minutes - execute cron.

This commit is contained in:
Marco A. Nina Mena
2015-07-01 11:17:13 -04:00
parent 1d63bf4313
commit 103c9ef036
2 changed files with 6 additions and 2 deletions

View File

@@ -80,6 +80,10 @@ IF(TASK.TAS_TIMEUNIT = "DAYS",
WHERE CA.OBJECT_UID = TASK.TAS_UID
AND CA.CALENDAR_UID = CBH.CALENDAR_UID
GROUP BY CA.CALENDAR_UID LIMIT 1) ,24)))
,TASK.TAS_DURATION)
,
(IF(TASK.TAS_TIMEUNIT = "MINUTES",
(TASK.TAS_DURATION /60)
,TASK.TAS_DURATION))
)