Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Deactivation & cron jobs
Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2011 - 6:05 pm

If SPF is deactivated, does SPF delete the cron jobs to update SPF stats (sph_stats_cron) and clean up transients (sph_transient_cleanup_cron) ?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2011 - 7:07 pm

good question... cannot remember... If you choose uninstall, then it certainly does...

Pretty sure the plugins in 5.0 do... would have to check on those core ones...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2011 - 9:44 am

I asked the question because on one of my networks, I had SPF activated on several sites.  I was doing some housekeeping and deactivated it on all but 1 site, but there were multiple cron jobs for the entries I listed above.  Therefore, I suspect it isn't stopping the jobs on deactivation. 

Since SPF is still activated on 1 site, I can't delete the plugin, so what happens on delete doesn't matter. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2011 - 9:46 am

the cron jobs remain in the wp list, but they wont run because their code wont be found...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Nov 24, 2011 - 9:11 pm

I'm glad to see you're sort of, almost back online.

It goes without saying that you have to dump your host.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 24, 2011 - 10:50 pm

my point was only that no harm would be done as nothing would run if sp was not active...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Nov 26, 2011 - 11:02 pm

My case is a little different - in that SP is active.

If I...

1) deactivate SP

2) delete all SP-related cron jobs

3) re-activate SP

...will SP re-create its cron jobs on re-activation?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 26, 2011 - 11:13 pm

barely living! 😉 trying to get it back to normal...

no, if you reactivate it will not add any cron jobs I dont believe unless you save an option that forces that... so its one of my worries when I get a chance to handle that ticket...

Avatar
Bill Murray
Member
Free Members
sp_UserOfflineSmall Offline
Nov 26, 2011 - 11:53 pm

I don't see any SP options that I could save that would control when stats are updated or when transients are auto cleaned.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 27, 2011 - 7:31 am

yes. the stats and transients crons are started at install... and only then... part of what needs to be fixed in the ticket I have referred to...

there are other crons that get activate or deactivated via selection of an option in the admin (ie user pruning, sitemap generation, etc)...

but you are correct, they need to be stopped at deactivation and check for restarting at activation...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620