MyBB Community Forums

Full Version: Auto-Backup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm making a plugin that automatically generates a mybb db backup and sends it to a server.

The plugin will be part of a service I'm providing for MySQL backups (So the plugin will require a license code from me once finished).

So far I have made the plugin right up to the backup part.

How can I generate a mybb database backup automatically at midnight GMT and make it upload to a folder on my server?
Use the task system
How do I use the task system in my plugin? (Sorry this is the first plugin I have ever made).
You can look at my plugin "VIP Membership", you can find it on my site (see signature) or in the mods site.

It creates a new task on activation and it comes with the task file too