I have Timer Job being created in WebApplication level feature and when we deploy solution, this feature is getting reactivated (because it is of scope WebApp) and because it's reactivated, timer job is also getting recreated. I am deleting timer job in feature deactivation event handler and creating it in feature activation.
So when new job is created it loses its custom schedule change if any.
To fix this i have to save existing scheduler somewhere and when we recreate have to update the scheduler what it was previously.
Is there any better solution for this?