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
JJE_OLDJJE_OLD 

Schedule Apex call

Hi,

 

I have an apex function which is sending emailsto the members of a Campaign which do not have related records on a specific object.

I need to be able to call this function on a time based trigger (e.g. one week after the campaign status was set to 'Finished')

 

Is there a way to do this?

 

Thanks,

MagulanDuraipandianMagulanDuraipandian

U hav to set reminder.

 

http://infallibletechie.blogspot.in/2012/09/birthday-reminder-or-automatic-birthday.html

 

Try this link. May be useful.

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

 

SFDC Blog

 

If this post is your solution, kindly mark this as the solution.

Ulas KutukUlas Kutuk

You can write a scheduled class and can also schedule daily/weekly whatever you want.

Here is the sample scheduled class: 

Apex Scheduler