I'm building out a managed package via the ISV program which will run inside GE/PE.

I know that you can get APEX classes into GE/PE via the managed package, but can you schedule these apex classes? Ideally I need to create scheduled jobs in an ad-hoc manner dependant on the data inside salesforce.

You cannot schedule a job for an apex class through the GE/PE gui with the system adminstrator user as the apex classes don't appear (as managed apex classes are hidden).

You are however able create scheduled jobs programically through apex, so could you create a scheduled apex job via a trigger or the package install script for GE/PE?

Is this a good approach?

  • Mark, did it work for you? – Rahul Gawale Sep 18 '19 at 8:10

From internal source -- I believe you can programmatically schedule the jobs. But not through the UI since the button doesn't show up (since GE/PE don't support Apex....but the package does). Have you tried this using something like the Install Handler interface?

  • Thanks @ReidCarlberg I will attempt to schedule the apex job(s) through an apex trigger as the jobs will be ad-hoc and may need to happen more than once an hour. – Mark Sivill Apr 1 '13 at 11:44

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.