From f97fe8b9deec4cc3807fc4845ca8f38b62fa392b Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sat, 21 Aug 2021 13:18:42 -0700 Subject: [PATCH] add cron example to test/README.md --- test/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/README.md b/test/README.md index 4996ff5..27b3553 100644 --- a/test/README.md +++ b/test/README.md @@ -18,3 +18,12 @@ Or run a specific test function in a specific class in a specific file ```python python3 -m unittest test.test_title.TestTitle.test_title_anchor ``` + +cron example everyday at 6am +```bash +#!/bin/bash +PATH=/usr/local/bin:/usr/bin:/bin +0 4 * * * cd && +0 5 * * * cd && +0 6 * * * cd && bash -c 'echo "$((python3 -m unittest)2>&1)"' | sendxmpp +```