Hello,
We are experiencing some issues with timer code. When we try running the code with CodeRunner, it executes multiple times (sends multiple emails at once), whereas when we push the Run button in the console it is working properly, i.e sending one email. We experience the same behaviour with the timer in both Debug and Production. Is this an internal issue? Please advise.
The timer code is : @BackendlessTimer("{‘startDate’:1462862100000,‘frequency’:{‘schedule’:‘custom’,‘repeat’:{‘every’:120}},‘timername’:‘PushNotificationTimer’}")
public class PushNotificationTimerTimer extends com.backendless.servercode.extension.TimerExtender
{
final TreeSet<String> departments = new TreeSet<String>();
@Override
public void execute( String appVersionId ) throws Exception
{
String mailBody = “Testing backendless mail”;
Backendless.Messaging.sendTextEmail(“Testing testing”, mailBody, "no-reply@gmail.com");
}
}