Submitted by Locutus on Sun, 07/24/2011 - 12:41
The script installer for WHMCS automatically creates a required cron job (which executes daily maintenance/automation tasks).
It'd be great if disabling the virtual server in which the script was installed also disabled the cron job - and likewise deleting it should delete the cron job.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Tue, 07/26/2011 - 09:33 Comment #1
Doing some testing...
Submitted by andreychek on Tue, 07/26/2011 - 10:11 Comment #2
Hi Jamie -- while cron jobs do appear to be removed when a Virtual Server is deleted, they do remain active when a Virtual Server is disabled.
What are your thoughts on disabling cron jobs when a Virtual Server is marked as disabled?
Submitted by JamieCameron on Tue, 07/26/2011 - 11:43 Comment #3
This could certainly be done .. I will look into implementing it.
Submitted by JamieCameron on Wed, 07/27/2011 - 00:39 Comment #4
I have implemented this for inclusion in Virtualmin 3.88..
Submitted by Locutus on Wed, 07/27/2011 - 14:31 Comment #5
Great, thanks!
And yep, actually I only tested the "disabling" part, not the deletion.
Aside from WHMCS I knew of no script that creates a Cron job, and I could not install WHMCS on my experimental VM due to license stuff (too bad they don't have a "secondary experimental installation is okay" policy like you do), and I did not feel like deleting my production WHMCS. :)
Submitted by Issues on Wed, 08/10/2011 - 16:22 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.