When I schedule a daily backup, it schedules for now + 24 hours. Is there a way to schedule the backup to occur at a particular time (e.g., 11pm) without having to be at my computer at 11pm to schedule it?
For now, you can hack this change in the plugin pretty easily.
Change line 717 in the plugin from wp_schedule_event(time() + $interval,$name,'wp_db_backup_cron');
to wp_schedule_event(strtotime('tomorrow 3:00 AM') + $interval, $name,'wp_db_backup_cron');
When I schedule a daily backup, it schedules for now + 24 hours. Is there a way to schedule the backup to occur at a particular time (e.g., 11pm) without having to be at my computer at 11pm to schedule it?
WordPress Database Backup 2.0
WordPress 2.1
I have opened a ticket and will make this a feature in a future version: http://dev.wp-plugins.org/ticket/594
For now, you can hack this change in the plugin pretty easily.
Change line 717 in the plugin from
wp_schedule_event(time() + $interval,$name,'wp_db_backup_cron');to
wp_schedule_event(strtotime('tomorrow 3:00 AM') + $interval, $name,'wp_db_backup_cron');RSS feed for this topic
Reply
You must log in to post.