# whats in the real crontab and this file are technically two diff things. for now we just manually make sure this matches whats in there.
# todo: implement something like this? https://blog.chmd.fr/saving-your-crontab-in-your-dotfiles.html
#
# to edit real crontab:
#    env EDITOR=nano crontab -e
#
# make sure all scripts are executable:  chmod +x *.sh

#=====================================================================#
#     0-23   0-59               0-30  0-6   1-12                      #
#     |_    _|                 _|    _|    _|                         #
#       |  |                  |     |     |            * any          #
#    At HH:MM on day-of-month MD on WD in M            - range        #
#       |  |                  |     |     |            , array        #
#     __|__|            ______|     |   __|            / step         #
#    |  |            __|         ___|__|                              #
#   _|  |__         |         __|   |__                               #
#  |       |        |        |         |                              #
#  |       |        |        |         |                              #
#=====================================================================#
#  Min  |  Hour  |  Mday  |  Month  |  Wday  |  Command               #
#=====================================================================#

   */15   7-21       *        *         *        $HOME/code/dotfiles/cron/every-fifteen-minutes.sh > /dev/null 2>&1
   */20     *        *        *         *        $HOME/code/dotfiles/cron/every-five-minutes.sh > /dev/null 2>&1
   15       *        *        *         *        $HOME/code/dotfiles/cron/every-hour.sh > /dev/null 2>&1
#   0       3        *        *         *        $HOME/code/dotfiles/cron/daily-nighttime.sh
   20      17,18     *        *         5        $HOME/code/dotfiles/cron/weekly.sh
   35       16       *        *        MON-FRI   $HOME/code/dotfiles/cron/workday-end.sh

# https://stackoverflow.com/questions/2135478/how-to-simulate-the-environment-cron-executes-a-script-with
# * * * * * env > ~/cronenv

#=====================================================================#


# disabled for now
#   20      17,18    *        *         1-5      $HOME/code/dotfiles/cron/twice-during-weekdays.sh
#  */15    *        *        *         *        $HOME/bin/temp-help.sh
