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

1 Answer 1

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.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .