Author Topic: Add new pending task and track it  (Read 703 times)

gaspala

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Add new pending task and track it
« on: May 05, 2010, 07:25:19 pm »
When I run background jobs (like backup), I would like to add an entry to the list of 'pending tasks'. This will allow me to track the progress better. Have any of you done that? Can you please tell me how to add new tasks, update task progress and finally remove it.

jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: Add new pending task and track it
« Reply #1 on: May 06, 2010, 04:45:55 pm »
Watch DCERouter.log for the commands, would be a good start, I believe.  You could also look into the DVD import code or orbiter regeneration code and see how it's done there.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Add new pending task and track it
« Reply #2 on: May 06, 2010, 06:09:52 pm »
You'll also want to look at src/Disk_Drive and src/Disk_Drive_Functions ...

-Thom