Closed yuvi100 closed 2 years ago
@yuvi100 You can check in /storage/logs/craftagram.log as to whether the refresh has succeeded or failed, as it logs out there when you run the refresh token.
As to your file being created, this is because when using wget in a cron you have to tell it to not output a file. See this StackOverflow post for an explanation, but speaking to your host would be the most suitable way to get your cron corrected.
@joshua-martin perfect - can confirm it's all working. Appreciate the additional resource as well.
I've set up a cron job on my shared hosting - how do I confirm the token has refreshed?
Visting
actions/craftagram/default/refresh-token
returns1
.When the cron job is run a file has been created on the shared host named
refresh-token.1
that contains the same response1
.