Export Cron Job Reporting Access Denied
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
9 years 6 months ago #2114
by Verulam Webmaster
Replied by Verulam Webmaster on topic Export Cron Job Reporting Access Denied
Ah, makes sense now thanks - I have updated I can now see the CURL commend in the URL.
The response to my CRON job running
"curl www.verulamcc.org.uk/index.php?option=co...export&type=TestCron "
{"result":"error", "error":"ACCESS_DENIED"}
For Feeds, I need to be signed in. Is this the same for Exports? Or should vData use the parameters in the CRON job to store the output directly to the fileplan?
Chris.
The response to my CRON job running
"curl www.verulamcc.org.uk/index.php?option=co...export&type=TestCron "
{"result":"error", "error":"ACCESS_DENIED"}
For Feeds, I need to be signed in. Is this the same for Exports? Or should vData use the parameters in the CRON job to store the output directly to the fileplan?
Chris.
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
9 years 6 months ago #2115
by Verulam Webmaster
Replied by Verulam Webmaster on topic Export Cron Job Reporting Access Denied
Screenshots attached.
Thanks.
Thanks.
Attachments:
Please Log in to join the conversation.
9 years 6 months ago - 9 years 6 months ago #2116
by Daniel
Thanks
Daniel
Replied by Daniel on topic Export Cron Job Reporting Access Denied
Cron script can only be executed using the Cron Job on the same server.
Each feed can be assigned with different access levels. If the Feed is assigned with public, guest access level, you don't need to login if the Feed is assigned with any other access level you need to login with a user with same / higher access level. Import / Export do not have any access level, You just need to trigger it using Cron Job from the same / local server where the script resides.
Each feed can be assigned with different access levels. If the Feed is assigned with public, guest access level, you don't need to login if the Feed is assigned with any other access level you need to login with a user with same / higher access level. Import / Export do not have any access level, You just need to trigger it using Cron Job from the same / local server where the script resides.
Thanks
Daniel
Last edit: 9 years 6 months ago by Daniel.
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
9 years 6 months ago #2117
by Verulam Webmaster
Replied by Verulam Webmaster on topic Export Cron Job Reporting Access Denied
Thanks Danish,
Thanks makes sense as the feed writes directly to the local server. The BASH screen shot below is an SSH shell onto the server, so it should be the same as the CRON job. However, I also ran it as a CRON job on the local server to be sure. Same result, screen shots attached.
I ran two, as I think CURL needs quotes to stop it braking on the '?' char, so I tested both, in each case not files were written and the hit count in vdata did not increment.
Chris.
Thanks makes sense as the feed writes directly to the local server. The BASH screen shot below is an SSH shell onto the server, so it should be the same as the CRON job. However, I also ran it as a CRON job on the local server to be sure. Same result, screen shots attached.
I ran two, as I think CURL needs quotes to stop it braking on the '?' char, so I tested both, in each case not files were written and the hit count in vdata did not increment.
Chris.
Attachments:
Please Log in to join the conversation.
9 years 6 months ago #2122
by Daniel
Thanks
Daniel
Replied by Daniel on topic Export Cron Job Reporting Access Denied
Hello,
Can you please share your Access credentials via Contact us form, We'll look into it.
Can you please share your Access credentials via Contact us form, We'll look into it.
Thanks
Daniel
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
9 years 6 months ago #2124
by Verulam Webmaster
Replied by Verulam Webmaster on topic Export Cron Job Reporting Access Denied
Thanks, I have sent the credentials.
Chris.
Chris.
Please Log in to join the conversation.