Jump to content

Recommended Posts

Posted
Username: N/A, Server: N/A, Main Domain: N/A

Hi, I'm interested in hosting a java application at heliohost but I'm not
sure if I satisfy the requirements.

I have seen that there is a cron limit, but what kind of cron? In my app
there is a spring task that runs every hour (could be every 2 hours or more
if it's too much) and only takes 20 seconds to finish. The task only makes
an api rest call and processes data.

Is that allowed?

Thanks in advance.

Posted

Keep in mind that not all of our services have been set up on the new control panel on our shared hosting. Java is one of those services that isn't ready yet. We hope to have it implemented within the next month or two, but there is no set date.

As far as cron jobs on our shared hosting the limit is currently 2 per day. So you can have 1 cron job that runs every 12 hours, or 2 cron jobs that each run every 24 hours. If you need more than that the easiest way to accomplish it is to run an external cron which can run as often as every minute.

The above applies to our shared hosting, but Java is available immediately on our VPS plans, and you can run as many cron jobs as you want on a VPS too. You also get root access to the command line which makes things much easier to deploy and you get the entire server to yourself so you don't have to worry about other users causing downtime for you.

Posted
That's what I'm referring to... What means an "external cron" and what an
"internal cron"?
Cron limits are for internal crons, but... Are they Linux crons?

Thanks again.

El mi?., 16 nov. 2022 4:36, HelioHost Support
escribi?:

> Keep in mind that not all of our services have been set up on the new
> control panel on our shared hosting. Java is one of those services that
> isn't ready yet. We hope to have it implemented within the next month or
> two, but there is no set date. As far as cron jobs on our shared hosting
> the limit is currently 2 per day. So you can have 1 cron job that runs
> every 12 hours, or 2 cron jobs that each run every 24 hours. If you need
> more than that the easiest way to accomplish it is to run an external cron
> which can run as often as every minute. The above applies to our shared
> hosting, but Java is available immediately on our VPS plans, and you can
> run as many cron jobs as you want on a VPS too. You also get root access to
> the command line which makes things much easier to deploy and you get the
> entire server to yourself so you don't have to worry about other users
> causing downtime for you.
>
> You may view the status of your ticket by visiting:
>
> https://helionet.org/index/index.php?showtopic=54215
>
> Thank you,
> Heliohost support
> https://heliohost.org/
> https://helionet.org/
>
>

Posted

External cron is like if you set a script like mydomain.helioho.st/cron.php and then an external server accessed that URL ever 1 minute or whatever. Those are unlimited. Internal cron is a linux command such as php /home/mydomain.helioho.st/cron.php. Those are limited to 2 per day.

Guest
This topic is now closed to further replies.
×
×
  • Create New...