Support » Plugins and Hacks » Make the export planned with wp_schedule_event

  • Hello,

    i need to make a XML backup file with the export function, one time per day in a special directory of my blog.

    can i use wp_schedule_event for that?

    <?php wp_schedule_event(time(), 'daily', 'the_generator('export')'); ?>

    this is good? but how to add the directory where to put the file?

    bye

    [moderated–multiple bumps removed. Please refrain from bumping as per Forum Rules]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make the export planned with wp_schedule_event’ is closed to new replies.