• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

CRON with htaccess

M

MarcAllain

Guest
Hi,
I'm working on a virtual server with Plesk Panel 10.

My website is protected with HTACCESS
I would like to execute scripts through this protection. I've made a test script witch just increase an integer in my mysql database (just to test the CRON).

This is how I've made it :

Min: */1
Hour: *
Day: *
Month: *
DOW: *

and for the script, I've tried several ways, but none of them works !

CURL -u login:pass http://www.sigma-i.fr/httpdocs/[...]/test.php
CURL -u login:pass /var/www/vhosts/sigma-i.fr/httpdocs/[...]/test.php
PHP -u login:pass /var/www/vhosts/sigma-i.fr/httpdocs/[...]/test.php
...

Is there anybody here that succeded in such operation ?
Thanks for help !
 
Thanks Faris for your post.

I've made a mistake in my post, I tried this :
CURL -u login:pass http://www.sigma-i.fr/[...]/test.php

But no way to make it work ! As if it doesn't understand the security parameters ...
 
Back
Top