Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Do cron jobs support http basic auth

  • 19-04-2015 9:21am
    #1
    Moderators Posts: 6,903 ✭✭✭


    Hello

    I have a cron job setup in a shared hosting account (Linux Minimus) like so:

    [font=Tahoma, Geneva, sans-serif]/usr/bin/wget http://<username>:<password>@www.website.ie/admin/send_email.php[/font]


    [font=Tahoma, Geneva, sans-serif]- the admin directory has http basic auth (using a .htaccess file) but the job doesn't run - I can call the same url externally and I receive the mail no problem.[/font]


    [font=Tahoma, Geneva, sans-serif]I also tried setting it up as a Scheduled Application, but must supply the login credentials in the fields, not the URL - How are the 'username' and 'password' passed in the URL when it's a 'Scheduled Application'?[/font]


    [font=Tahoma, Geneva, sans-serif]Thanks[/font]


Comments

  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Please contact our helpdesk directly and they might be able to assist: https://www.blacknight.com/support.html


  • Moderators Posts: 6,903 ✭✭✭Spocker


    Got my answer from the helpful support team :)

    Wget is disabled, I was directed to use cURL instead, which worked for me - thanks!


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Glad to hear they were able to assist you

    I *think* we had to disable access to wget due to security issues 


Advertisement