Re: [Cloud] How to Setup Cron Job for Toolsforge's tool

2018-12-26 Thread Jay prakash
Now I have done it by https://github.com/Jayprakash-SE/indic-wsstats/blob/master/cronjob.sh Thanks, Martin :) On Tue, Dec 25, 2018 at 3:51 PM Martin Urbanec wrote: > I'm afraid you have to create a small wrapper script, activate venv in it > and run that shell script from crontab. > > Martin >

Re: [Cloud] How to Setup Cron Job for Toolsforge's tool

2018-12-25 Thread Martin Urbanec
I'm afraid you have to create a small wrapper script, activate venv in it and run that shell script from crontab. Martin út 25. pro 2018 0:30 odesílatel Jay prakash <0freerunn...@gmail.com> napsal: > Hello, I am getting the following problem on the test. I have installed > the module in venv as

Re: [Cloud] How to Setup Cron Job for Toolsforge's tool

2018-12-24 Thread Jay prakash
Hello, I am getting the following problem on the test. I have installed the module in venv as per https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#python_(Python3_+_Kubernetes). and I have also test /data/project/jayprakashbot/www/python/venv/bin/python instread of python in cron file. same

Re: [Cloud] How to Setup Cron Job for Toolsforge's tool

2018-12-24 Thread Giovanni Tirloni
On 12/24/18 7:50 PM, Jay prakash wrote: Hello,         I want to set up a cron job for my tool on tools forge. From (venv) tools.indic-wsstats@tools-bastion-03:$ ``` 1. $ crontab -e 2. paste the 0 */6 * * * python /data/project/indic-wsstats/www/python/src/gen_stats.py 3. Ctrl O as default n

[Cloud] How to Setup Cron Job for Toolsforge's tool

2018-12-24 Thread Jay prakash
Hello, I want to set up a cron job for my tool on tools forge. >From (venv) tools.indic-wsstats@tools-bastion-03:$ ``` 1. $ crontab -e 2. paste the 0 */6 * * * python /data/project/indic-wsstats/www/python/src/ gen_stats.py 3. Ctrl O as default name like (tmp/XX) 4. Ctrl X ``` Is this enou