NO BOTSWe ban anonymous users since 2016
NO BRIBESWe do not delete reviews for money
We do not sell rating positions
We make cheating attempts almost impossible
EXPERT ADVICEWe test the hosting thoroughly and publish professional overviews
How to make the length of CRON-assignment less than 1 minute?
- views 1299
Developer said that this is impossible. Maybe you have some ideas?Solutions (1)Good afternoon, if you need to run the task twice a minute: Create one task in the crown with the start interval per 1 minute and prescribe the command or file that needs to be run. Create a file, put the rights to run on it. In the first line of the file, write sleep 30. In the second line, write the command or file that you need to run. Create a task in the crown to run this file once a minute. Similarly, you can run the task as many times per minute as you want. Before doing this, we recommend you think about if its really necessary to perform the task more than once a minute.Answers (2)
Using the built-in tools of the operating system, it is usually impossible to run the cron-task more often than once a minute
In most cases, there is no need to run any script so often. And also if your script is resource intensive, so frequent start of the script can cause excessive load on your server.
Anyway, you can try to use such cases:
*/1 * * * * root /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh
*/15 * * * * root /home/mybin/script.sh;Thats impossible by using cron. You need other software for this or write an automation script.
Users (0) 0 of 5
We highly recommend not to purchase the cheapest hosting package. Usually, they come with a row of issues: the server is often down, the hardware is outdated, lousy and slow support, registration and payment errors, etc.
For your convenience, we have created a tool that can help you to choose the right hosting package for you just by answering a few simple questions.
CMS is a content management system. A lot of hosting providers offer so-called CMS optimized packages. However, this is a marketing trick because most CMSs do not have special software or hosting requirements.
Trial period is a period of time, usually from 7 to 30 days, during which you can use the hosting services for free to test them.
Moneyback policy allows the customer to receive a refund for his order within a certain period after the purchase.
OS means the operating system is installed on the server. We recommend to choose Linux hosting unless your website requires another OS.
Bulletproof hosting - it’s a type of service that allows to host almost any type of content, even the restricted one (adult content, warez, spam etc). Bulletproof hosting providers do not remove your content in case someone reports an abuse.
Unlimited hosting - refers to companies that provide packages with unlimited disk space, bandwidth, number of domains, databases or email accounts, etc. This is usually a marketing trick but sometimes you can find something worth a try.
Secure hosting - it’s a type of service when the hosting provider is mostly responsible for the security of the user’s account: updates the software installed on their servers, provides an antivirus and malware scanner, firewalls and basic anti-DDoS protection, etc.
DDoS-protected hosting - companies that provide packages that include anti-DDoS protection. These packages are considerably more expensive than regular ones. Nevertheless, they’re totally worth their price because the company will ensure that your website is secured from cyber attacks.
Most websites require MySQL and PHP installed on the server to work correctly. Almost all hosting providers support these technologies.
ASP.NET is a Microsoft web application development platform.
The more comfortable the control panel is, the easier will it be for you to change the website and hosting account settings.
Most hosting providers that are in TOP20 in our rating offer user-friendly control panels, such as cPanel, Plesk or DirectAdmin. That’s why we recommend to pay attention to other, more important parameters, while choosing a hosting provider.