Best practice to daily update values calculated from diffs with datetime.now

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • cpicanco
    Member
    • Sep 2019
    • 60

    Best practice to daily update values calculated from diffs with datetime.now

    Hi guys,

    I have some values calculated from a datetime diff using the datetime.now function. I would like to update those values daily. What should I do? Create a cron job? Just recalculate the formula manually? Is there a better component for this job?

    Thank you in advance,

    Best,
    Rafael
  • yuri
    Member
    • Mar 2014
    • 8474

    #2
    Hi Rafael,

    You can utilize scheduled workflow.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • cpicanco
      Member
      • Sep 2019
      • 60

      #3
      Thank you yurikuzn.

      Comment

      Working...