Results 1 to 2 of 2

Thread: What is the best way to write a task scheduler?

  1. #1
    Join Date
    Jul 2012
    Posts
    201
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default What is the best way to write a task scheduler?

    Hi there guys, I am looking for ideas on how to write a task scheduler for my server. I've written a server that performs certain tasks however I want the server to perform these tasks automatically at certain times of the day (e.g. 00:00, 11:00 and 15:00). At these times the server must call a function to trigger these tasks. What would be the best approach for this?

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What is the best way to write a task scheduler?

    For example using QTimer with 1 minute period. In slot connected to timeout() signal You can check on some list if You have to do something in this moment.

Similar Threads

  1. Replies: 4
    Last Post: 24th December 2015, 10:23
  2. Scheduler framework/library like Quartz scheduler
    By ramazangirgin in forum Qt Programming
    Replies: 0
    Last Post: 4th March 2011, 14:43
  3. Replies: 2
    Last Post: 2nd November 2010, 05:15
  4. My scheduler and Qt
    By Daxos in forum Qt Programming
    Replies: 1
    Last Post: 11th June 2010, 11:34
  5. How to make scheduler in QT4.4.2?
    By merry in forum Qt Programming
    Replies: 5
    Last Post: 31st August 2009, 12:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.