Best way to run cron with Docker

Suppose we have to run a script every 15 mins with tools that already exist in our app container (e.g. php, node, etc.) What is the best way to do this?

For example:

  1. Run cron within the app container
  2. Run cron as a separate container
  3. Run cron on the host (using docker exec)