How to Docker to test the tasks executed by cron? (how to speed up time)?

There are Python (Flask + Celery, mysql, redis) project.
Exhibited for celery tasks that should run on schedule.

You must verify that after N hours, or at the time of the passage of time (or other problems and situations which may arise) are handled correctly.

Waiting for that day/week/year - certainly not an option.
Change the time in docker is not available.

How to solve this problem? (right or fast)
August 19th 19 at 22:48
3 answers
August 19th 19 at 22:50
You want Gssp test? He's in exactly the specified time startanet? Or still want to test tasks on schedule?

Cron, I think testing does not need. But the problem is tests cover. Not to do magic.
August 19th 19 at 22:52
Make a trigger for every 5 minutes and check that the job runs, then change sheduling correct.
I have tied at the time of application logic simple example: "after N hours to process N records" - Sydnee37 commented on August 19th 19 at 22:55
August 19th 19 at 22:54
Google it: celery task monitoring, Flower

Find more questions by tags CeleryCronDockerLinuxPython