UML sequence diagram: how do i draw cron job?

10,882

The actor would be some scheduler (or you can use the Cron object if you like). The target would be your Synchronizer object doing all that fancy web scanning.

enter image description here

You can use a loop fragment to show the repetition. A simple note would do as well :-)

Share:
10,882
ericlee
Author by

ericlee

Updated on June 15, 2022

Comments

  • ericlee
    ericlee almost 2 years

    I'm developing an application that takes advantages of restaurants' dataset. Each week my system will run a CRON job in order to synchronize the restaurants that are available on a public API to my database.

    However, how do I draw the sequence diagram for this CRON job? Who is the actor?