[Tutor] Storing passwords and version control

Alan Gauld alan.gauld at yahoo.co.uk
Sun May 27 13:08:00 EDT 2018


On 27/05/18 17:21, Joel Goldstick wrote:
> On Sun, May 27, 2018 at 12:08 PM, Pat Martin <wpmartin at gmail.com> wrote:
>> ... Since it will be a script I will be running
>> through cron I won't be able to type the password 

> You can set environment variables on the system that runs the script.

EV was my initial thought but...Would that work for a cron job?
I didn't think cron picked up the user environment?
Or have I got that wrong? Very possible, since I rarely use cron...

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list