Delete object after some Time

    Hello Guys,

    I was Wondering if there is a way to “Expire” Data object in a Custom Table? Like when a week passes it auto deletes it self ?
    Thanks in advance

Hi Gehad,

Not out of the box. You can create a Timer which periodically runs and performs the clean up you need.


Can i get Further Explanation on how to deploy timer to server ?

I Currently Have This Class in my Code :

import com.backendless.servercode.annotation.BackendlessTimer;
import com.backendless.servercode.extension.TimerExtender;
public class BookTimer extends TimerExtender
public void execute( String appVersionId ) throws Exception
System.out.println("Hello I am a Timer");
}Thanks in Advance

The process of deployment is described here: