I write a plugin that creates weekly summery post. it supposed to run once a week to generate a post for current week.
I can have a cron job to schedule a task to run it once a week, but since its a plugin, you need to login as admin first, but cron job wont be able to do that. Is there a way I can do it ?
- The topic ‘how to write a plugin that runs automatically’ is closed to new replies.