UML sequence diagram: how do i draw cron job?

你离开我真会死。 提交于 2019-12-21 03:42:37

问题


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?


回答1:


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.

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



来源:https://stackoverflow.com/questions/32695526/uml-sequence-diagram-how-do-i-draw-cron-job

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!