Re: how to run another file inside current file?

2013-05-18 Thread fjct...@gmail.com
subprocess? 发自我的小米手机 Avnesh Shakya avnesh.n...@gmail.com编写: hi, I want to run a another file inside a ached.add_cron_job(..). how is it possible, please help me, I have a file otherFile.py for execution inside current file. I know it is very easy question but i m unable to get

Re: python script is not running

2013-05-18 Thread fjct...@gmail.com
make sure data.json is absolute path make sure you test it directly without crontab in the crontab, execute the script in such way, python scripty /tmp/log 21 check the log 发自我的小米手机 Avnesh Shakya avnesh.n...@gmail.com编写: hi, i want to run python script which generating data into json