Best way to run Perl script whitin dzVents
Posted: Saturday 10 February 2018 14:42
At this moment I run a Perl script within dzVents on the following way.
The script runs every minute between 15 minutes before sunrise and 15 minutes after sunset. The ouput is piped to /tmp/output.txt.
Is there a better and/or faster way to run this perl script within dzVents. Or perhaps as a crontab job and pickup the contents of output.txt within dzVents.
Smart ideas are welcome
Code: Select all
os.execute('perl /home/pi/Public/perl-script > /tmp/output.txt')
Is there a better and/or faster way to run this perl script within dzVents. Or perhaps as a crontab job and pickup the contents of output.txt within dzVents.
Smart ideas are welcome