Write cron business logic as a Python class and let this app do the rest! It enables Django projects to schedule cron tasks, tracks their success / failures, manages contention (via a cache) etc. Basically takes care of all the boring work for you :-)
Hi @MTeres Yes, you can use any variable/function/class etc. in the scope of the module that has do function. No need to define them inside the function.
Can i use global var inside do function? When i try i get the inital value of the var...