Scheduling CRON with Strava API

390 views
Skip to first unread message

WD Outsource

unread,
Jan 29, 2014, 10:54:49 PM1/29/14
to strav...@googlegroups.com
Hi

I want to schedule CRON with Strava API. I see issues with Authentication. With OAuth 2 it requires User Permission to access. Then how do we schedule it with CRON?
Early response is much appreciated.

Paul Mach

unread,
Jan 30, 2014, 12:17:19 AM1/30/14
to WD Outsource, strav...@googlegroups.com
You ask the user for permission, get the access token, use that access token in future cron commands. 

Dr. Paul Mach
STRAVA


--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

WD Outsource

unread,
Jan 30, 2014, 12:23:17 AM1/30/14
to strav...@googlegroups.com, WD Outsource
Thanks Dr. Paul for Quick reply.

Since CRON will run on server side backend - how do ask user for permission?
And Access Token once generated is valid for how long?

Paul Mach

unread,
Jan 30, 2014, 12:29:32 AM1/30/14
to WD Outsource, strav...@googlegroups.com
At this time access_tokens do not expire, but they can be invalidated by the user.

What do you plan to access via cron? At some point you will need to get the user's permission to access their data. That is when you'll get the access token, store it somewhere and have your cron script retrieve it and use it.

Dr. Paul Mach
STRAVA

Ashish Pednekar

unread,
Jun 30, 2017, 2:25:04 PM6/30/17
to Strava API, wdout...@gmail.com, pa...@strava.com, Ashish Pednekar
Dear Dr. Paul,

Thank you for the info. 
I have got the token from users, but it is not working on the next day ( I am assuming it get expired).
Is there a way I can get a token which does not expire?

Regards,
Ashish

Matt Reider

unread,
Aug 16, 2017, 2:04:23 PM8/16/17
to Strava API, wdout...@gmail.com, pa...@strava.com, one.a...@gmail.com
I am having the same problem. Did something change where Strava started expiring tokens? I have a crontab that checks the API on behalf of the authorized user every few minutes. It works for a few days, and then stops working. Please advise.

Hobson

unread,
Aug 17, 2017, 11:31:52 AM8/17/17
to Strava API
I have very few (like 5) persisted tokens and they work fine, although they were collected months ago. 

Martin T

unread,
Aug 17, 2017, 4:59:29 PM8/17/17
to Strava API
The tokens don't expire.  I have ones that are years old.
Check the response message. Does it give any hints as to why the call failed?

Matt Reider

unread,
Aug 18, 2017, 12:43:29 PM8/18/17
to Martin T, Strava API
Thanks. Perhaps there's something else going on.

--
You received this message because you are subscribed to a topic in the Google Groups "Strava API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/strava-api/R919FLg-_JQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to strava-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Philip J

unread,
Jun 4, 2026, 6:03:08 PM (5 days ago) Jun 4
to Strava API
DMT Vape Pens: Understanding the Risks, Effects, and Reality Behind the Experience
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
DMT vape pens have become increasingly popular among individuals seeking intense psychedelic experiences. These devices contain N,N-Dimethyltryptamine (DMT), a powerful hallucinogenic compound capable of producing profound alterations in perception, consciousness, and sensory awareness within seconds of inhalation.https://rentry.co/Amazingpacks
Unlike many other psychedelics, DMT acts rapidly and intensely. Users commonly report vivid visual effects, altered perceptions of time and space, and experiences that feel deeply immersive or spiritual. However, these effects can also become overwhelming, unpredictable, and psychologically distressing.https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
While some people pursue DMT for personal exploration or spiritual curiosity, it is important to understand the potential risks involved. DMT can cause elevated heart rate, increased  blood
pressure, anxiety, confusion, panic, and intense hallucinations. In some cases, individuals may experience lingering psychological effects, including flashbacks, visual disturbances, or worsening symptoms of underlying mental health conditions.
Another concern is the lack of regulation surrounding illicit DMT vape cartridges. Products obtained from unverified sources may contain contaminants, unknown additives, or inconsistent concentrations that increase the likelihood of adverse reactions. Because users rarely know the exact purity or dosage of these products, the overall experience can be highly unpredictable.
Although fatal overdose from DMT alone is considered uncommon, combining DMT with other substances—including certain antidepressants, stimulants, opioids, or other psychedelics—can significantly increase health risks and may lead to serious medical
     
complications.https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
DMT remains a controlled substance in many jurisdictions, and possession, distribution, or manufacture may result in legal consequences. Anyone considering the use of DMT should be aware of both the health risks and the laws that apply in their location.
If DMT use is beginning to affect your mental health, relationships, work, or daily life, professional support is available. Treatment providers, counselors, and addiction specialists can help individuals address substance use concerns and develop healthier coping strategies.
Education, informed decision-making, and
access to reliable support remain the most effective tools for reducing the risks associated with psychedelic substance use.
Updated: June 2026
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks
https://rentry.co/Amazingpacks

To unsubscribe from this group and all its topics, send an email to strava-api+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages