This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:
#4
RE: Problem with settings up crons
any one here who can help me
Reply
Thanks given by:
#5
RE: Problem with settings up crons
Post MySupport Addon 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
Thanks given by:
#6
RE: Problem with settings up crons
(06-30-2015, 12:49 AM)TGates Wrote: Post MySupport Addon is a quick work-around:
http://forums.sentora.org/showthread.php...82#pid3382

will check it out and will update the results here.
Reply
Thanks given by:
#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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)