Answer the question
In order to leave comments, you need to log in
Ubuntu crontab Not running script?
crontab -e
#
# mh dom mon dow command
12 * * * * . /home/web/sitecheker/cron_run.sh
script content
#! /bin/bash
workon sitecheker
python /home/web/sitecheker/run.py
deactivate
If just run in console . /home/web/sitecheker/cron_run.sh , everything works fine. It does n't start with cron. I don't run it
as root.
What could be the problem? I already broke my head
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question