• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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