Answer the question
In order to leave comments, you need to log in
Python, parsing, cron?
Hello. I'm making an application in php, but now I need to parse a huge amount of data, and it's clear that php does this, but it takes a very long time.
I decided to start learning python in order to write a script that will run on cron and perform parsing, saving data.
I came across a problem, I can’t run the script, I start the task in the scheduler in this way
#!/usr/bin/env python /var/www/scms/data/www/site.com/core/cron/python.py
/usr/bin/env python /var/www/scms/data/www/site.com/core/cron/python.py
python /var/www/scms/data/www/site.com/core/cron/python.py
f = open('txt.txt', 'w')
f.write('Hello world')
f.close()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question