0

I have a scheduled job that sends page content via email, page controller needs about 15 sec to finish executing(looping over histories of more than one object) so sometimes scheduled job fails because of the limit. Is there a way to make page.getcontent().tostring() takes the 60 sec specified for scheduled job not 15 sec. Thanks

0

No, you can't run Visualforce with the higher asynchronous limit. You'll just have to render your content in the scheduled class directly, or build multiple pages that can run, and you can then combine them together afterwards.

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.