Tasker

From: Chris (CHRISSS)26 Feb 2016 12:22
To: ANT_THOMAS 33 of 43
That didn't make any difference. I can't work out if it's my web server or my phone that's the problem.
From: Chris (CHRISSS)26 Feb 2016 12:43
To: ALL34 of 43
I think it's the server that's the problem. I just logged into my Pi at home and tried wget. Same problem, 401.
From: ANT_THOMAS26 Feb 2016 14:21
To: koswix 35 of 43
I either used some Google play store credits from various device purchases, Google opinion rewards, or it was on sale at some point.

Get it from Aptoide if you don't want to pay.
From: milko26 Feb 2016 14:31
To: koswix 36 of 43
don't you do Opinion Rewards or whatever the survey's called? I make about 10p a day off that, soon adds up. 
From: Chris (CHRISSS)26 Feb 2016 14:49
To: koswix 37 of 43
I just checked and I paid £1.99 but that was 3 years ago. I haven't actually used it for anything til now and I can't even get that to work :(
From: Chris (CHRISSS)26 Feb 2016 20:29
To: ALL38 of 43
What the f is Chrome doing differently to wget/Tasker? I can't get wget to connect to my server :(
From: Chris (CHRISSS)26 Feb 2016 21:54
To: ALL39 of 43
Riiiiiight. Think I /might/ be getting somewhere. I just managed to get it to work from my Pi using curl and the --digest option. What's the difference between basic and digest authentication? I'll see if I can get that working in Tasker now.
From: Chris (CHRISSS)26 Feb 2016 22:09
To: ALL40 of 43
Yay yay yay. Tasker now runs a curl in a shell and no need to turn my screen on or do silly calls now :D
From: ANT_THOMAS26 Feb 2016 23:34
To: Chris (CHRISSS) 41 of 43
Yay, no screen on rubbish!

You could just have the Pi run a cronjob at the required time rather than relying on your phone.
From: Chris (CHRISSS)27 Feb 2016 21:49
To: ANT_THOMAS 42 of 43
That's true. I'm thinking it might be easier to change the times or switch it off when I want to if I do it on my phone. All working now though which is nice.
From: johngti_mk-ii28 Feb 2016 09:00
To: ALL43 of 43
You two are just making stuff up now...