You need to sign in to do that
Don't have an account?
venkatesh
Schedule an Apex code to run in some time interval??
Hi,
Is it possible to schedule my application built on Force.com so that my application runs in some time interval.
Can anyone gimme some link to this particular problem?? cheers
Step3: Create a time based workflow which will run 1hr after the object instance has been created and update the checkbox field.
I got this from here: http://gokubi.com/archives/daily-cron-jobs-with-apex
You will typically find a few minutes lag in the 1 hr interval.
- Sanjeev
All Answers
I am also facing a similar issue.. I want to execute a field update based when a event.date is less that today's date. The only way I can really do this is to have my APEX class run at a scheuled time since it's not relaly a before insert, update etc.....
i wonder if there is a way we can schedule a class and /or trigger
Jim,
Thanks for that info , i am looking forward to this CronKit.
So is it the onlyway to use some other products like CronKit available in appexchange or there is some native methods in Apex that we can use for scheduling.
Step3: Create a time based workflow which will run 1hr after the object instance has been created and update the checkbox field.
I got this from here: http://gokubi.com/archives/daily-cron-jobs-with-apex
You will typically find a few minutes lag in the 1 hr interval.
- Sanjeev
The suggestion that sanjumeh is exactly what cronkit does. It just creates the workflow and execution trigger for you. The time based workflow is the way to execute things on an interval basis. Your other option is to go outside the product, use a real cron type scheduling tool and execute a web service or other api style call.
sanjumeh that really helps to solve my problem with some modifications ..I just need to take a look at what more i can do within my limitations..great articles out there..cheers