Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Cron token #2

Closed
Naramsim opened this issue May 24, 2017 · 3 comments
Closed

Cron token #2

Naramsim opened this issue May 24, 2017 · 3 comments
Assignees
Labels

Comments

@Naramsim
Copy link
Collaborator

define( 'CRON_TOKEN', 'XXXXXXXXXXXXXXXXXXXX' );

Could this variable be autogenerated randomly?

@juz501
Copy link
Collaborator

juz501 commented May 24, 2017

I'm pretty sure it's only to prevent access to the cron endpoint directly. It can auto generated, but just needs to be used when you setup the cron script itself.

@tdmalone
Copy link
Owner

Yeah what @juz501 says is correct. You set it and then you use it. That's for 'traditional hosting' though. Cron is going to have to be handled differently if deployed on eg. Heroku... I need to do a bit more reading up on that.

@Naramsim
Copy link
Collaborator Author

Ok, thanks for the clarification

@tdmalone tdmalone self-assigned this May 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants