You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an OVH CRON that runs every hour (its the minimal time they have for this plan)
The CRON will run a command each time. The command does the following :
For every user, check all tasks.
If a task has match the run conditions, run the task. To match the conditions, a task has to :
be active
have a media to post (txt is optional)
have a task->lastRunnedAt property that is later than the task->postFrequency
---(exemple : John creates a task that says : post 1 media + txt on my instagram account every monday at 8pm. The postFrequency will be : 0 18 * * 1. The cron will run the PostCommand every hour, and this command will check if the current date is reached since the lastRunnedAt. If so, it triggers the action.
create detailed logs by task (via TaskLog entity with 1:1 relation) and update task status.
The text was updated successfully, but these errors were encountered:
---(exemple : John creates a task that says : post 1 media + txt on my instagram account every monday at 8pm. The postFrequency will be : 0 18 * * 1. The cron will run the PostCommand every hour, and this command will check if the current date is reached since the lastRunnedAt. If so, it triggers the action.
The text was updated successfully, but these errors were encountered: