AdamSulek / timelogs

0 stars 1 forks source link

[task] creating crontab.txt file #39

Open AdamSulek opened 3 years ago

AdamSulek commented 3 years ago

example: /1 * /usr/local/bin/python task_flow.py >> /cron.log 2>&1

/1 every minute or /5 every 5 minutes

/usr/local/bin/python choose localization of python on your machine with the command which python

task_flow.py chose localization of python executable file in the container

/cron.log 2>&1 choose localization of log file in which You can track cron jobs