Scheduled job disappears from my list

Home Forums Bulk Delete Addons Scheduler for Deleting Posts by Post Type Scheduled job disappears from my list

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

This topic contains 14 replies, has 2 voices, and was last updated by  Sudar 9 years, 3 months ago.

  • Author
    Posts
  • #3741

    Carl Ringwall
    Participant

    My schedules have disappeared from my saved scheduled jobs.
    This has happened 3x in the last month. What could cause this? I have attached my info file.

    Attachments:
    You must be logged in to view attached files.
  • #3743

    Carl Ringwall
    Participant

    Note that wp-cron is disabled; I’m running cron jobs to execute wp-cron at specific times.

  • #3745

    Sudar
    Keymaster

    Hello Carl,

    Are the scheduler jobs getting deleted after each run or are they getting deleted randomly?

    What is the duration of the scheduler jobs that you are creating?

    I am also seeing that you are using a slightly old version of Bulk Delete. Can you update to the latest version and give it a try?

  • #3754

    Carl Ringwall
    Participant

    It’s a random occurance. I’m setting my posts type delete job for 2am and then I trigger wp-cron with a cron job at 2:05 and 2:07.

    I did find one thing that may be the issue; softalicious sets a backup at 1:52 am on Sat…I’m thinking the backup may be running into the cron process? What do you think? I’ve set the backup to run at another time.

    I’ll update the plugin version.

    Thanks for the update.

  • #3755

    Sudar
    Keymaster

    Hello Carl,

    Yeah, that could be a problem.

    Can you please try by setting the backup to some other time to see if it still happens?

  • #3756

    Carl Ringwall
    Participant

    Ok, I have put that change in place, we’ll see that happens.

  • #3757

    Sudar
    Keymaster

    Sure.

    Let me know what happens when your backup job runs next time.

  • #3770

    Carl Ringwall
    Participant

    Ok, backup job moved to 1am, and my bulk delete job did not run at 2am – wp-cron was executed, according to email notifications.

    The scheduled job disappeared from the control panel list.

    Here is the options array after I re-scheduled the delete job:

    Array ( [0] => Array ( [selected_types] => Array ( [0] => cars-publish [1] => photos-publish [2] => option-publish ) [restrict] => [limit_to] => 0 [force_delete] => 1 [date_op] => [days] => 0 ) )

    I want this to run daily – is the [days] => 0 correct?

  • #3771

    Carl Ringwall
    Participant

    PS Backup job did not run last night – it is scheduled for Saturdays only.

  • #3773

    Sudar
    Keymaster

    Hello Carl,

    The job options looks correct. Days should be 0.

    Just to confirm, you choose the repeat option when you created the schedule job right?

  • #3774

    Carl Ringwall
    Participant

    Correct. I think I’m going to just create my own php script to do the deletes, but thank you for your help.

  • #3783

    Sudar
    Keymaster

    Hello Carl,

    Apologies for the issue you are facing.

    Would it be possible for you to give us access to your server to check out what is happening?

    This is the first time someone has complained about the scheduled jobs disappearing. Also I am not able to replicate it in any of my servers.

  • #3793

    Carl Ringwall
    Participant

    I can, let me know secure method.

    I was thinking, many plugins provide a parameterized url that can be cronned manually. I would prefer that…just a suggestion.

  • #3794

    Sudar
    Keymaster

    Hello Carl,

    I can, let me know secure method.

    Thanks. You can post a private reply here which would be readable only by both of us.

    To post a private reply check the “Set as private reply” checkbox before pressing the Submit button.

    I was thinking, many plugins provide a parameterized url that can be cronned manually. I would prefer that…just a suggestion.

    Thanks for the suggestion. I agree with you. It would be useful for people who don’t want to use WP Cron. I have added it to my todo list. You can track the progress of this task at https://github.com/sudar/bulk-delete/issues/110

  • #3825

    Sudar
    Keymaster

    Hello Carl,

    If you are not comfortable sharing the credentials as a private reply, then you can also submit it through the contact form available at http://bulkwp.com/contact/

The forum ‘Scheduler for Deleting Posts by Post Type’ is closed to new topics and replies.