2 ms·
Great read that shows how web scarping can easily be utilised in a meaningful way. However, doesn't this script either send out the same text very often, or po
by DerJacques 10y ago
Great read that shows how web scarping can easily be utilised in a meaningful way.
However, doesn't this script either send out the same text very often, or potentially send it out too late (by e.g. only letting the cronjob run every 6 hours)?
I assume that time is of the essence in this situation. Some sort of log on sent texts would surely be helpful.
- jamesbvaughan 10y agoRight, that's a very good point! That actually got very annoying when I first deployed this script, but I ended up adding a kind of logging to it. I wanted to keep the script in the post as simple as possible, but here is the one I'm actually using: https://gist.github.com/jamesbvaughan/4c501fc99acb75852756a4d1dfc8ca3d https://gist.github.com/jamesbvaughan/4c501fc99acb75852756a4...