Hello.
Im trying to run some custom action by shedule, and meet some strange behavior.
In my shedule i
ve got a record:
/usr/local/bin/python2.7 /home/xux/<project dir>/manage.py scanner
Code of scanner.py is very simple: class Command(BaseCommand): def handle(self, args, *options): sys.exit('rty')
As i see my script runs well, but when it hangs, and execution time could be infinite. I have tryied different variations of command in shedule (including and excluding absolute paths), try to set enviroment variables, and others..
As soon as script hangs i did not see anything in the log, there is only "Task has not been run yet". Also, i try to raise exception from different places of my scanner.py, and get that this module loads and class initialized, but functon handle hangs..
Could anybody help me to run my custom command by shedule?