• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Quick Cron Tab questions

I

INTEL

Guest
i have this setup in my cron manager

45 23 * * * wget -q -O /dev/null /var'/www/vhosts/domain.net/private/cron/cron_renewal.php'

does that look correct?

also, on top of that file, im including

#!/usr/local/psa/admin/bin/php

This is a very important cron job and i want it to definately run at 11:45 tonight.

Any input is greatly appreciated.
 
Hello,

I do not think that is correct.

I would run it like this:

45 23 * * * /usr/bin/php -q /var/www/vhosts/domain.net/private/cron/cron_renewal.php

eventually redirect to > /dev/null 2>&1
 
Originally posted by blank_page
Hello,

I do not think that is correct.

I would run it like this:

45 23 * * * /usr/bin/php -q /var/www/vhosts/domain.net/private/cron/cron_renewal.php

eventually redirect to > /dev/null 2>&1

Thank you for your reply. I changed it to:

45 23 * * * /usr/bin/php -q /var/www/vhosts/domain.net/private/cron/cron_renewal.php

How would I eventually redirect to > /dev/null 2>&1
 
Hello,


45 23 * * * /usr/bin/php -q /var/www/vhosts/domain.net/private/cron/cron_renewal.php >/dev/null 2>&1

would be the whole cronjob.
 
Originally posted by blank_page
Hello,


45 23 * * * /usr/bin/php -q /var/www/vhosts/domain.net/private/cron/cron_renewal.php >/dev/null 2>&1

would be the whole cronjob.

Excellent. Thank you!
 
Back
Top