Announcement

Collapse
No announcement yet.

scheduled tasks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    scheduled tasks

    Now that we have groups for scheduled tasks THANK YOU! I can finally set up scheduled tasks that will import inventory from our point of sale system from a file at the same time every day but Sunday. I'm noticing however that since I have set up six of the same tasks one for each day I want it to run which works. However the problem I'm seeing is that they add an hour every time? So the task that ran at 5:15 today sets itself to run at 6:15 next Friday. Anyway to fix this or do I need to plan on keeping up with fixing these every week?
    Mark Hood
    Vermont Gear

    #2
    I'm guessing I'm the only one with this problem... Seems after a few weeks it would be pretty far off so I just have to keep going in a resetting it to actually be a week and not a week plus an hour.
    Mark Hood
    Vermont Gear

    Comment


      #3
      You're not the only one. I noticed this problem while working on a project some years ago. "Scheduled" tasks aren't really scheduled; they're just requested. :^.

      In case you didn't know, the algorithm is triggered by activity in the store. So, for example, you might set a task to run late at night, say at 3AM, so it won't happen when the store is busy. But the store won't actually run the task until after the 3AM deadline passes, AND someone visits the store. So the task might actually run several hours later, when some customers arrive.

      My solution is to set a cron job to hit a URL in the store at a specific time.
      Kent Multer
      Magic Metal Productions
      http://TheMagicM.com
      * Web developer/designer
      * E-commerce and Miva
      * Author, The Official Miva Web Scripting Book -- available on-line:
      http://www.amazon.com/exec/obidos/IS...icmetalproducA

      Comment

      Working...
      X