Scheduled task run time calculation change

8 views
Skip to first unread message

Alexander Obuhovich

unread,
Jul 20, 2012, 4:38:26 AM7/20/12
to In-Portal Bugs
Right now scheduled task (or agent) execution time is calculated in minutes. This way all scheduled tasks that took less a minute to execute are displayed as running 0 minutes.

I think we should record seconds, which too each scheduled agent execution time and then display them in following format "hh:mm:ss". For example 12 seconds would look "00:00:12".

Phil

unread,
Jul 20, 2012, 5:11:21 AM7/20/12
to in-port...@googlegroups.com
good idea. Tasks can't be launched in a shorter time than minute, maybe that's why this unit have been kept for execution time, but it'd be useful to know real agent execution time.


Envoyé avec Sparrow

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
Jul 20, 2012, 5:29:37 AM7/20/12
to in-port...@googlegroups.com
Scheduled task isn't job that executes more then 1 minute by default you know :)

Phil

unread,
Jul 20, 2012, 5:31:58 AM7/20/12
to in-port...@googlegroups.com
yes, I know that, I was just trying to guess why execution time was using only minutes as minimal unit :)


Envoyé avec Sparrow

Dmitry A.

unread,
Jul 22, 2012, 2:23:05 AM7/22/12
to in-port...@googlegroups.com
Hi Alex,


We should definitely record the seconds too, plus Output or what we called Log is necessary. It might be very convenient to be able to save to the Log if necessary. We have some report put in at the end when Task is complete or/and when it runs which means actually reporting part really a custom thing that can be programmed within a Task, but we need to provide good tools and programming interface for it.

Back to you.


DA

Alexander Obuhovich

unread,
Jul 22, 2012, 6:21:14 AM7/22/12
to in-port...@googlegroups.com
Log reporting is other discussion part, don't mix things just because they have common term, like "scheduled task".

Here is a task for my original post: http://tracker.in-portal.org/view.php?id=1361


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/VYdfGaH4dPsJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
Oct 10, 2012, 6:19:51 AM10/10/12
to in-port...@googlegroups.com
Here is the patch. 
I've also display "< 1 sec." instead of "00:00:00" in scheduled task list and edit pages.

Ready for testing.
scheduled_task_runtime_in_seconds.patch
Reply all
Reply to author
Forward
0 new messages