November 27, 2016 in Developer Connection
What numbers i must set while plugin task creating if i want that task run one time per day - in 01:00 after midnight?
You specify how frequent the task runs, not the specific time it runs, I'm afraid. The best you could do is have it run periodically (maybe every hour or so) and then within the task check the current time to see if it is >1:00 but <2:00. That could be risky if the site doesn't get much traffic in the middle of the night though and a task backlog develops.
Yes, I got it, and came up with solution using cron for Task Method option. One cron command for forum common tasks and another for my personal
task by passing ID of the task like second argument in cron.
This topic is now archived and is closed to further replies.
Started Saturday at 04:16 PM
Started Wednesday at 05:56 PM
Started November 13