Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron Example Explanation #16

Closed
kmgdevelopment opened this issue Feb 2, 2019 · 1 comment
Closed

Cron Example Explanation #16

kmgdevelopment opened this issue Feb 2, 2019 · 1 comment
Assignees
Labels

Comments

@kmgdevelopment
Copy link

Could you explain some pieces of the example Cronjob given in the plugin?

10 3 * * * wget https://www.mysite.com/enupal-backup/schedule?key=12345 -O /dev/null

Specifically what does -O do and what is /dev/null for?

@andrelopez andrelopez self-assigned this Feb 3, 2019
@andrelopez
Copy link
Member

andrelopez commented Feb 4, 2019

Hi @kgrote
When using wget to call the webhook URL it creates temporary files, passing -O /dev/null avoid create these temporary files.

Feel free to use curl instead, e.g

10 3 * * * curl --request GET 'https://www.mysite.com/enupal-backup/schedule?key=12345'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants