Trigger time for plugins

  • Posts: 529
  • Thank you received: 9
  • Hikashop Business
5 hours 23 minutes ago #367880

Hi, I have only just discovered the 'out of stock' pluginB)

It is perfect for what I need but, its seems to run around 11:37 and I would like it to run a lot earlier so I have it at th begging of the working day, but cannot find a way to do this?

Would I simply, deactivate it and reactivate it at a time I would like it to run?

Rgds

Please Log in or Create an account to join the conversation.

  • Posts: 84079
  • Thank you received: 13636
  • MODERATOR
2 hours 2 minutes ago #367881

Hi,

In the settings of the plugin, you have a setting "frequency" to configure the number of seconds between each run. I suppose that you have the number of seconds in one day in there.
But you also have a setting "last update". This setting contains the date of the last time the plugin run in the past.
The date there is using the "unix timestamp" format which is the number of seconds from 1st of january 1970.
So, check the value you have in that setting. If you want the plugin to run 10 hours earlier, then substract 36000 (36000 is the number of seconds in 10 hours) to that setting value and save the plugin. This way, instead of running at 11:37 tomorrow, it will run at 1:37

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum