Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 27, 20168 yr Hello! What numbers i must set while plugin task creating if i want that task run one time per day - in 01:00 after midnight? Thanks!
November 28, 20168 yr 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.
November 28, 20168 yr Author Hello 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. Thanks
Archived
This topic is now archived and is closed to further replies.