I have a
and another class that implements schedulable that calls the first class.
I am pushing an update to production to the class.
Do I need to unschedule the job then reschedule it?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
If you go to Setup > Deployment Settings and check "Allow deployments of components when corresponding Apex jobs are pending or in progress. Caution: Enabling this option may cause Apex jobs to fail.", you'll be allowed to deploy those changes without unscheduling the job first. Note that this may cause undesirable behavior, and it is recommended that you unschedule the jobs first to avoid any potential issues.