Hi folks.
A couple of times every week, i go thru the process of manually updating the "Stripped.csv" database that feeds the operator info fields on our Nextion screens.
Although i have got it down pretty quick now, it's still a bit of a faff, and i was wondering if there was a way to get Pi-Star to fetch the .csv file i prepare as a daily event in System Cron? It would save me a bit of time for sure. All i would have to do is point a Cron job to where the new .csv is stored on the internet, and then write it to where it is stored on the Rpi...in this case /usr/local/etc/stripped.csv
Hope somebody may have an idea.
Cheers & 73...
Richie.
Auto-update Stripped.csv in System Cron?
Re: Auto-update Stripped.csv in System Cron?
maybe look here: /usr/local/sbin/pistar-daily.cron
Re: Auto-update Stripped.csv in System Cron?
Currently, i host my own .csv file which i pull down and edit from KF5IW's database weekly.
What i need to figure out is how to trigger the automation of Pi-star pulling to down and overwriting it.
Currently, with the manual way of doing it, i have to reboot at the end to implement the change also....so there is an extra challenge.
Was kind hoping someone would have said "Oh...i've done that" by now, and share their script and where to put it.
Re: Auto-update Stripped.csv in System Cron?
When you figure it out let us know....I use his files too
I would think wget or curl would do the job...
I would think wget or curl would do the job...
Re: Auto-update Stripped.csv in System Cron?
Hi,
kill -USR1 <pid>
It works also with killall.
Cheers.
---
Daniel
kill -USR1 <pid>
It works also with killall.
Cheers.
---
Daniel