2

I have a

class

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?

Thanks

2

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.

| improve this answer | |
  • Thanks!!! I'll unschedule then reschedule, i'll accept your answer once timer allows – Tim Willis Mar 2 at 22:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.