• romaweb
  • NEWBIE
  • 25 Points
  • Member since 2009

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

Hi support.
Please help me.

In my apex controller I do Site.login() and after redirect I can get current user (UserInfo.getUserId). That is well in Opera and Firefox browsers, but in IE I have got old user ID (Guest user). 

Thank you.

 Hello,

 

I have a process that automatically builds a scheduled job a few minutes in the future every time it fires.  This works great, but after there are ten such jobs, I get an Apex limit exception: You have exceeded the maximum number (10) of Apex scheduled jobs.

 

These jobs are all completed and I did check to make sure they have a status of 'COMPLETED' as well.  When I delete them by going in through the UI, then the process works again.

 

1. Is this intended behavior? 

 

2. Is there any way to programatically delete these old completed jobs?

Message Edited by jhartfield on 02-12-2010 02:35 PM
Message Edited by jhartfield on 02-12-2010 02:35 PM

Hi support.
Please help me.

In my apex controller I do Site.login() and after redirect I can get current user (UserInfo.getUserId). That is well in Opera and Firefox browsers, but in IE I have got old user ID (Guest user). 

Thank you.