Support » Plugin: WP Crontrol » Unable to delete Cronjob

  • Hi John,

    I set up a PHP-Cronjob wih ypur Plugin and saved it. When editing it a new job is created. When “deleting” (either via delete-Link or the checkboxes) nothing is deleted.
    Do you have any idea why is that?

    Thanks a lot,
    Bernhard

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the message.

    * How many cron jobs do you have in total?
    * Do you have any other PHP cron events?
    * Are any other cron jobs scheduled for the same time as the one that won’t delete?
    * Does the problem happen every time?

    Hi John.

    <<How many cron jobs do you have in total?>>
    20

    <<Do you have any other PHP cron events?>>
    No

    <<* Are any other cron jobs scheduled for the same time as the one that won’t delete?>>
    No

    <<Does the problem happen every time?>>
    Yes.

    See
    http://wptest.kux.de/extra/imgtmp/wpcrontab-error-0.png
    There are 3 PHP-cronjobs starting in the past: Klicking on delete does not delete.
    Editing one of those and setting the startdate to the future create a new cronjob.

    When trying to delete “PHP Cron (erzeuge einzelhefte)” with start inthe futur this job is removed from the list. But soon it reappears…?

    THank you
    Bernhard

    From what I can see you can’t bulk delete CRON jobs anymore. It only seems to work with individual jobs so I have resorted to using some SQL to manually delete all the jobs when I need to for testing.

    I too have a job I’d like to delete, the plugin appears to tell me I’ve deleted it, and yet there it is, always at the top of my list of jobs.

    total number of jobs: 26
    total php jobs: 3 (one of which is a duplicate job I’m trying to delete)

    Other jobs running at the same time
    – I suppose Yes because the job I’m trying to delete ALWAYS indicates that it’s running ‘now’ even though it’s a once daily job & indicates it’s next scheduled run is in 11/2017.

    Does the problem happen every time – I suppose as it’s the only one I’ve tried to delete & been completely unsuccessful.

    I wouldn’t care but I think it actually is running on occasion so I can’t really figure out when these files are really downloading.

    A little more info.

    The cronjob I’m trying to delete says it’s running now, for reasons unknown to me.

    When I change the date of this cronjob to a date in the future, the plugin creates ANOTHER cronjob with that start date in the future. It keeps the original job that says it’s running now.

    I can delete the cronjob that’s set into the future with no problem.

    So I need to know: 1. how do I delete a job that’s running now? 2. if that’s not possible, is there any way to delete a job that’s running now?

    Thanks, hope this helps.

    We are also having the exact same problem as @rboulet

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to delete Cronjob’ is closed to new replies.