function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nishanth0208nishanth0208 

Can a user with a profile other than sys admin schedule Apex?

Hello All,

I 've a requirement in current assignment that, a user with profile other than sys admin should be able to schedule apex. I logged into Salesforce using that user's credentials. I can see 'SCHEDULE APEX' button, but not working. It is reproting 'INSUFFICIENT PREVILAGES' error. 

Could anyone please help?

 

Thanks In advance!

Best Answer chosen by Admin (Salesforce Developers) 
Shashikant SharmaShashikant Sharma

I tested My own suggestion I missed one this

 

Edit profile -> In Administrative Permissions section

 

Give Right for this also with

Cutomize Application : Set to true and

 

Author Apex : Set it to true for that profile than it will work.

 

Will surely work

All Answers

Shashikant SharmaShashikant Sharma

Try with this

Login as System Admin

Edit  that user profile ,

there is a CheckBox Field : Customize Application set it to true Save the profile

Now login with this user and check

Shashikant SharmaShashikant Sharma

I tested My own suggestion I missed one this

 

Edit profile -> In Administrative Permissions section

 

Give Right for this also with

Cutomize Application : Set to true and

 

Author Apex : Set it to true for that profile than it will work.

 

Will surely work

This was selected as the best answer
nishanth0208nishanth0208
Thanks a ton Shashikant. It works.