Problem with settings up crons
#1
Problem with settings up crons
Hi,

I have installed sentora today on new vps.
I have migrated from cpanel . and looking to set crons jobs here wrt to cpanel.


Cpanel Syntax for my crons

/usr/bin/curl --silent http://www.comain.com/cron_tenmin.php 2 > /dev/null

This is the syntax of all cron in cpanel.

I am writing these lines in sentora to set up crons. But every time I receive this error.

Error: Your script does not appear to exist at that location.

My crons for sentora.

/usr/bin/curl --silent /var/sentora/hostdata/zadmin/public_html/Site_Dir/filename.php  2 > /dev/null

/var/sentora/hostdata/zadmin/public_html/Site_Dir/filename.php



I have tried different combinations but every time I recieve the error of wrong location.

Kindly extend you support on this issue

I know A lots of users will be facing the same issue who has migrated from cpnael.

Your details response will help a lots of members.

Admin/Developers I am waiting for your answers.
Thanks
Reply
#2
RE: Problem with settings up crons
Its very simple, only insert the path after the public_html dir.
Like so:
Code:
/Site_Dir/filename.php

Thats it, simple and really easy but not as many options if you did it bareboned like Cpanel does.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
#3
RE: Problem with settings up crons
(06-27-2015, 02:33 PM)Ron-e Wrote: Its very simple, only insert the path after the public_html dir.
Like so:
Code:
/Site_Dir/filename.php

Thats it, simple and really easy but not as many options if you did it bareboned like Cpanel does.

It works..

There are some more problems.

I have some crons that are password protected by the script. so that only script can trigger them.
this is their syntax on cpanel.
/usr/bin/curl --silent http://www.domain.com/filename.php?pwd=11111 2 > /dev/null
where pwd=11111 is password set for that cron file to be run only from script.

I have tried them on sentora but does not seem to be working.

Site_Dir/filename.php?pwd=11111


How to solve this problem.

If my crons problem solved then sentora is best for me
Reply
#4
RE: Problem with settings up crons
any one here who can help me
Reply
#5
RE: Problem with settings up crons
Post #2 is a quick work-around:
http://forums.sentora.org/showthread.php...82#pid3382
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#6
RE: Problem with settings up crons
(06-30-2015, 12:49 AM)TGates Wrote: Post #2 is a quick work-around:
http://forums.sentora.org/showthread.php...82#pid3382

will check it out and will update the results here.
Reply
#7
RE: Problem with settings up crons
If you have any problem with the cron job settings, you may try https://www.easycron.com.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Problem with roundcube pgh2011 0 3 ,164 01-30-2021, 12:48 AM
Last Post: pgh2011
Import zpanel settings problem pgh2011 0 3 ,194 12-30-2020, 07:08 PM
Last Post: pgh2011
Senator crash problem with mysql provokas 3 12 ,243 08-20-2020, 04:11 AM
Last Post: Your Creator

Forum Jump:


Users browsing this thread: 1 Guest(s)