function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hello,
I have my package and a Schedulable class, I want to create a Schedule job in a Post Install Script.
Anybody can help me?
Hi,
What do you mean by Post install script?
What is your exact question, you want to create a schedule for a schedulable class which is in package?
Is it the question (at least as per my understanding).
If it is so you can schedule the class using Schedule apex button in Apex class list.
And you can schedule using Crone expression also.
EX:
NameSpace.classname ce = new NameSpace.classname(); String sc = '0 11 1 2 * ?'; system.schedule('myyyy', sc , ce);
Jvaloto - use InstallHandler to wake up the scheduled job.
Details on install handler w/ code samples:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_install_handler.htm
Hi,
What do you mean by Post install script?
What is your exact question, you want to create a schedule for a schedulable class which is in package?
Is it the question (at least as per my understanding).
If it is so you can schedule the class using Schedule apex button in Apex class list.
And you can schedule using Crone expression also.
EX:
Jvaloto - use InstallHandler to wake up the scheduled job.
Details on install handler w/ code samples:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_install_handler.htm