You need to sign in to do that
Don't have an account?
Fabio Milheiro
Execute Apex code periodically or triggers dependent on time?
I am building a time records app that records time spent in projects by our users.
No we have to develop a feature to check if a certain person is getting close to the maximum time for a specific project so that Salesforce can inform the project manager.
At first I was thinknig of pooling that info from an external information but... If there is a way to execute a certain task every hour in salesforce then that would probably be the best solution.
Any way to do this?
Hi,
You can use the Apex Schedular feature. In this, you can write the apex class which handles your logic and then you can schedule this apex class to run every hour.
There are two methods two schedule the class-
1. Through UI (devlop->apex classes-> <Schedule Apex>
2. Through System log using System.schedule method
All Answers
Hi,
You can use the Apex Schedular feature. In this, you can write the apex class which handles your logic and then you can schedule this apex class to run every hour.
There are two methods two schedule the class-
1. Through UI (devlop->apex classes-> <Schedule Apex>
2. Through System log using System.schedule method
Exactly! Thanks