You need to sign in to do that
Don't have an account?

auto delete everyday
Hello everyone,
I'ld like to delete everyday all records from a custom object. I didn't schedule an Apex job before so I don't know what do first. It should be a really simple piece of code.
Any idea?
Thanks in advance
Hi,
Goto setup--> devlop --> Classes --> Schedule Apex Button.
You can select your class and give the time and days.
Thanks
Shailu
Without implementing the batch apex code how can you schedule a class ?
You will have to create a batchable class and then you can schedule the class.
For more info please search for batch apex in the apex guide and you will get sample code as well