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 

How to run apex trigger every day without schedule apex ?

Hi All,


    I need to run apex trigger every day.Is there any way to do this without writing the logic in schedule apex ?




with out writing a cron job this is we know trigger block will execute on there should be a DML operation by a native call or API if you dont require the cron job to perform the logic through apex....




No you can't fire a trigger every day, without writing the logic in schedule apex . As triggers are only fired in response to certain events on a particular table in a database.


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

Can you use time based workflow and use the field update?

Thanks All for the reply.So without cron job its not possible to fire trigger.Can we have dummy update through cron job and that will fire the trigger?