You need to sign in to do that
Don't have an account?
Anil Meghnathi
I want to set start and end date of schedule job
I want to set start and end date of schedule job using apex code.
Cron Trigger has StartTime,EndTime fields but they are not writable.
How to set start and end date.
Any idea???
Thanks
Anil
I believe You cant get the Starttime of the Schedule Job .
Thanks
SFDC_Evolve
The method System.schedule should do the trick
also see http://en.wikipedia.org/wiki/Cron#CRON_expression
You can launch this from a button that connects to a VF controller or, what I do, is launch by execute anonymous APEX in the developer console