Re: how to run another file inside current file?

2013-05-18 Thread fjct...@gmail.com
subprocess? 发自我的小米手机 Avnesh Shakya 编写: >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 anything, please help me.

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 2>&1 check the log 发自我的小米手机 Avnesh Shakya 编写: >hi, >i want to run python script which generating data into json fromat, I am > u