Sending a scheduled email to all contacts

Hello,

Is there any way to send a scheduled emails to all contacts on the system. Could this be done via workflow, campaigns etc?

By code :

https://developer.sugarcrm.com/2012/08/09/use-the-new-job-queue-to-make-logic-hooks-perform-faster/