sftcd / tek_transparency

Some measurements of deployments of apps using the Google/Apple Exposure Notification system
MIT License
9 stars 4 forks source link

de-stephenize the scripts #1

Closed pdehaye closed 4 years ago

pdehaye commented 4 years ago

The scripts make heavy reference to /home/stephen/code/tek_transparency. This should probably go away ;-)

sftcd commented 4 years ago

On 02/07/2020 21:50, pdehaye wrote:

The scripts make heavy reference to /home/stephen/code/tek_transparency. This should probably go away ;-)

Yeah, fair point. Makes running a cron job easier for me, but will fix.

S.

sftcd commented 4 years ago

Attempted fix in this commit - vars will be taken from environment if set or default to what works for me, if you wanna run a cron job with other vars, you'll need to set HOME etc explicitly in your crontab (exactly HOWTO depends on which version of cron apparently).

pdehaye commented 4 years ago

Thank you!

pdehaye commented 4 years ago

What is this doing on your system?

date -d "00:00:00Z" +%s

I am trying to find the same option on mine.