Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4648

Need Help to Setup Cron Job in sentora

$
0
0
Hello,


Iam new to sentora and I need your help to run my website corn task. I have installed an mail sending script, but it

required below corn needed to run. Iam not able to set the below corn in my sentora panel because it was only support the below type of lines only.

/cloudmail_domain_in/apps/console/console.php          Every 1 minute

My script needed to run it may needed the full path like below.

cloudmail_domain_in/apps/console/console.php send-campaigns >/dev/null 2>&1



Below are the corn task automatically generated by my script if any one have any idea how to do it..



# sender, runs each minute.
* * * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domain_in/apps/console/console.php send-campaigns >/dev/null 2>&1

# sender, runs once at 2 minutes.
*/2 * * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domain_in/apps/console/console.php send-transactional-emails >/dev/null 2>&1

#  runs once at 10 minutes.
*/10 * * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domainon_in/apps/console/console.php bounce-handler >/dev/null 2>&1

# runs once at 20 minutes.
*/20 * * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domain_in/apps/console/console.php feedback-loop-handler >/dev/null 2>&1

# runs once at 3 minutes.
*/3 * * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domain_in/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1

# Various tasks, runs each hour.
0 * * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domain_in/apps/console/console.php hourly >/dev/null 2>&1

# Daily cleaner, runs once a day.
0 0 * * * /usr/bin/php -q /var/sentora/hostdata/zadmin/public_html/cloudmail_domain_in/apps/console/console.php daily >/dev/null 2>&1

.png   Screenshot_12.png (Size: 26.54 KB / Downloads: 4)

Viewing all articles
Browse latest Browse all 4648

Trending Articles