Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide concerns the support of secure hashing functions (notably SHA-256) by Infomaniak servers, as well as the emphasis on the security of SSL/TLS certificates using CSR generated with SHA-256.
SHA-256 hashing algorithm
The cryptographic hash function SHA-1 is compatible and Infomaniak servers also support the SHA-256 function, which is useful for Paypal and SaferPay (SIX).
The CSR (certificate signing requests) are in SHA-256 and not in SHA-1.
This guide explains how to connect via SSH to a Web Hosting or a Cloud Server.
Connecting via SSH…
… via a web browser
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on FTP / SSH in the left sidebar.
- Click on the Web SSH button:
... via terminal or application
To connect via SSH, use the following commands from a terminal application (command line interface, CLI) on your device, for example:
- Terminal (application already integrated into macOS and Linux)
- PuTTY (Windows)
- Windows 10 SSH Client (help in French / in English)
Enter the following command:
ssh username@server
username
being the username of the FTP accountserver
being the host server (for example. xxxx.ftp.infomaniak.com)
To find out which command is available and know the path to use, run the command "whereis
":
$ whereis mysql
mysql: /opt/mysql/bin/mysql
This guide offers solutions for errors of the type “Malicious site! This website has been reported as a malicious site and has been blocked based on your security preferences” ("STOP! This Website Can Harm Your Computer!" in English).
Who put this message?
This error message or warning…
- … IS NOT added by Infomaniak.
- … is generated by Google based on its own criteria, using notably https://www.stopbadware.org/.
- … may no longer appear directly because…
- … you are no longer indexed by Google.
- … you are using a browser that does not rely on Google's checks.
What to do?
If this does not concern the site you are managing, refer to Google's help on this subject.
If the site is yours, take note of the advice below:
- Check the source code of the published page: there is likely additional code compared to still healthy pages; it could be a malicious iframe or any other inclusion…
- On the page in question, click the button "Why was this site blocked?" and follow the instructions…
- Familiarize yourself with the Google documentation on this topic.
- Monitor the vulnerability detection tool which could resolve the issue in the meantime.
Make your life easier! If needed, local partners recommended by Infomaniak can handle these procedures. Launch a free tender. They take care of everything, freeing you from the technical details.
This guide explains how to change the PHP version available for the sites on your Web Hosting Infomaniak.
Preamble
- It is possible to switch from an old and potentially vulnerable PHP version to a recent one, but you will no longer be able to revert to this vulnerable version for security reasons.
- The change is effective immediately and permanently.
- Refer to this other guide if you are looking for information about configuring the PHP version used in SSH.
Change the PHP version used for a website
It is possible to easily modify the PHP version used for an entire website:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on More information.
- Click on Modify:
- Select the desired PHP version:
- Click on Save at the bottom of the page to save the change.
It may be necessary to update your hosting in advance to access the very latest versions of PHP offered by Infomaniak.
This guide explains how to add a MySQL/MariaDB database, create or modify users and how to find all the necessary parameters to configure your scripts and CMS on a Web Hosting.
Manage databases
To access the database management page of your hosting:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Databases (or MariaDB if necessary) in the left sidebar:
Databases
Under the Databases tab, you can:
- Create a MySQL/MariaDB database by clicking the Add a database button.
- Import, export or restore a MySQL database by clicking on the dropdown arrow to the right of the Add button.
Users
Under the Users tab, you can:
- Create a MySQL/MariaDB database user by clicking the Add user button.
Configuration information
This is also where you will find the required information to configure CMS or web applications:
- The name of a database (for example
XXXX_dbname
) - The username of a database (for example
XXXX_username
) - The password for the database username (the one you chose when creating the MySQL/MariaDB user reset if you have forgotten it)
- The MySQL/MariaDB server for databases / the host name / hostname (for example
XXXX.myd.infomaniak.com
) with its version (5.7 for example)
User rights, shared servers & Cloud
- With read permissions: “SELECT”
- With write permissions: "INSERT, UPDATE, DELETE, CREATE TEMPORARY TABLES, LOCK TABLES"
- With admin rights: "CREATE, DROP, INDEX, ALTER, CREATE VIEW, SHOW VIEW, REFERENCES"
- + "CREATE ROUTINE, ALTER ROUTINE, EXECUTE, TRIGGER, EVENT" on Cloud Server only (refer to this other guide for more information)
- With no rights: the user will not see the database appear in phpMyAdmin
Web application databases
- Refer to this other guide about WordPress.
- Refer to this other guide about Joomla.
This guide explains how to add an additional website to an existing Infomaniak hosting plan.
Preamble
- The hosting can be on a shared web hosting plan or on a Cloud Server Infomaniak.
- The additional site can be either:
- a second domain name (for example,
domain2.xyz
), - or a subdomain (for example,
abc.domain.xyz
) of a domain name you already own.
- a second domain name (for example,
- In this multisite/multidomain management (virtual host), the total disk space and resources of your hosting are shared among your sites/subdomains.
Access site management
Prerequisites
- If the 20 website slots included in the web hosting plan are already in use, order additional websites.
To access a web hosting plan and add a site:
- Click here to access the management of your products in the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on the blue Add button:
- Choose the optional content for the new site (A) or other specific installation, blank space, advanced technologies (Node.js for example) (B):
- Click on Next.
- Choose the domain type to assign to this new site:
- an already acquired domain name
- a subdomain created from an already acquired domain name
- an available domain name and to order
- Enter the domain name (
domain2.xyz
, for example) or the subdomain. - Choose the optional advanced options, including:
- By default, the new site is added to the directory
/sites/domain2.xyz
on your FTP server. - To manually set a different directory, check Set location manually and specify the path and name.
- Create a new folder if necessary:
- By default, the new site is added to the directory
- Click on Continue.
If it is a sub-domain or if the domain name or its DNS zone is managed by Infomaniak, it is possible to automatically update the existing DNS entries. Otherwise, make the necessary changes with your registrar or transfer the management of the domain name to Infomaniak.
This guide explains add a new domain name to a website Infomaniak.
Preamble
- When you add a new domain name to a website, we talk about related area but also of aliases.
- An alias domain in this case is an additional domain name, also linked to an existing site.
- To make the website
domain.xyz
be reachable with a whole other domain name likeprivate.abc
e.g., addprivate.abc
as the alias of the website. - Second example, so that the site
domain.xyz
can also be reached withwww.
domain.xyz, it must be added as an alias to the domaindomain.xyz
In this example,domain.xyz
is the parent site of the aliaswww.domain.xyz
In general, the aliaswww
is already added automatically and now...
- To make the website
Add an alias to an existing site
Prerequisites
- If the domain name (intended to become alias) or its DNS area is managed by Infomaniak, everything is OK. If not:
- Domain name registration A must point to Infomaniak.
- To simplify, you canentrusting the management of the domain to Infomaniak.
- It is also necessary that the future alias is not already so, in which case it will have to be the disconnect from the current site in advance (i.e. synonym).
To add an additional domain that will be linked to your website:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the nameallocated to the product concerned:
- Then click on the chevron to develop the game Areas of this site.
- Click on the button Add Domain:
- Enter the domain name(s) to be added, separating them by the key Enter.
- If the alias or its DNS area is managed by Infomaniak, it is possible to automatically update DNS entries In the opposite case, make any changes to your registrar or transfer domain name management to Infomaniak.
- If you have an SSL certificate like Let's Encrypt e.g. you can ask the update here to include the new names.
- Click on Validate to complete the procedure:
To define the alias as the main domain, take note of this other guide.
This guide concerns inbound and outbound traffic permissions between different hosts at the database level.
Access...
... to databases external to Infomaniak
From a Infomaniak Web hosting, it is possible to make MySQL queries to external servers without restriction.
... from the outside to the Infomaniak databases
Access to Infomaniak databases from outside the infrastructure is only allowed with a Serveur Cloud (you need to open port 3306
in TCP / inbound in the firewall).
Regarding access to MySQL databases from another Infomaniak Web hosting refer to this other guide.
Allow external connections on MongoDB
Regarding MongoDB, you need to disable the local_only
option from Fast Installer:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Fast Installer in the left sidebar.
- Click on
MongoDB
. - Click on the action menu ⋮ to the right of the relevant item in the displayed table.
- Click on Configure:
- Disable
local_only
: - Save the changes.
The port 27017
for MongoDB
must be opened in the firewall.
This guide explains how to activate or deactivate maintenance mode on a website of an Hosting Infomaniak.
Introduction
- Maintenance mode allows you to display a custom message to your visitors, for example while resolving a technical issue.
- It is also possible to specify IP addresses that can bypass this page.
- An email is sent to the users of the Organization.
Enable maintenance mode
To activate a page that temporarily replaces your usual homepage:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click the toggle switch to enable the maintenance page:
- Confirm the activation of maintenance mode.
Customize the maintenance page
To set up a page with your chosen message:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Maintenance Page in the left sidebar.
- Click on Create a page or on the Customize button if it already exists:
- Format the text of your choice.
- Configure the display using the elements on the right.
- Click on Save to avoid losing your ongoing edits.
- Click on Save & Activate to publish the page:
Allow IP addresses
It is possible to display a site even with maintenance mode enabled. To do this, it is necessary to enter the IP addresses of the computers that need to bypass maintenance mode:
- Activate maintenance mode according to the procedure above.
- Go to the maintenance page configuration page (see procedure above)
- Under Maintenance on the right, click on Insert my IP address to allow your computer to display the site without maintenance mode.
- It is also possible to manually enter the IP addresses to authorize.
- Click on Save and publish.
Disable maintenance mode
To disable the message that appears on your site during maintenance:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click either the Disable button or the toggle switch to disable the maintenance page:
- Confirm the deactivation of maintenance.
Alternative method for WordPress
It is not recommended to activate the Infomaniak maintenance page above to then work in WordPress.
It is recommended to install a WordPress extension (there are dozens available) dedicated to maintenance within the CMS itself.
Alternatively, you can add the code <?php $upgrading = time(); ?>
to a new empty file named .maintenance
(the dot before the file name is important) placed on the server at the root of your site, which will disable all your pages except the WordPress homepage.
This guide explains how…
- … generate a
CSR
and private key to request a third-party certificate from a Certification Authority (CA
), - … import this certificate for your Infomaniak site, using the
CRT
obtained from theCA
.
Preamble
- Although Infomaniak offers all the SSL certificates you might need…
- free Let's Encrypt certs for personal sites (only possible with sites hosted at Infomaniak),
- DV certs from Sectigo for professional/private sites that are not registered in the trade register,
- EV certs from Sectigo for companies registered in the trade register,
- It is also possible to install an SSL certificate obtained elsewhere (intermediate certificate from a certification authority of your choice), custom or self-signed certificates.
1. Generate a CSR (Certificate Signing Request)
A CSR
(Certificate Signing Request
or Certificate Signing Request) is an encoded file containing the information necessary to request an SSL/TLS certificate.
It must be generated on your side to ensure that the private key remains under your control, using for example OpenSSL.
Adapt and run the following command from a terminal application (command line interface, CLI) on your device:
openssl req -utf8 -nodes -sha256 -newkey rsa:2048 -keyout domain.xyz.key -out domain.xyz.csr -addext "subjectAltName = DNS:domain.xyz, DNS:www.domain.xyz"
Explanations
newkey rsa:2048
: Generates a new 2048-bit RSA key.keyout domain.xyz.key
: Specifies the file where the private key will be saved.out domain.xyz.csr
: Specifies the file where the CSR will be saved.addext “subjectAltName = ...”
: Adds additional domains via theSAN (Subject Alternative Name)
extension, necessary to include all desired domains in the certificate (the main domain domain.xyz + any other associated domain or subdomain, such as www.domain.xyz).
After generation, you can check the contents of the CSR with the following command:
openssl req -in domain.xyz.csr -noout -text
This allows you to verify that all domains listed in subjectAltName
are correctly included.
Once the CSR is generated, you can send it to the certification authority (CA
) to obtain your SSL/TLS certificate.
2. Import the external certificate
Once validated, the CA
issues a certificate (domain.xyz.crt
) and sometimes an intermediate certificate (ca_bundle.crt
). To access SSL certificate management:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on SSL Certificates in the left sidebar.
- Click the blue Install a certificate button:
- Choose the custom certificate.
- Click on the Next button:
- Import your certificate and private key, either by importing the
.crt
and.key
files or by copy-pasting. - Click on Complete:
Alternative command to generate a self-signed certificate (optional)
If you want a local certificate for testing purposes only or without going through a CA
(not recommended for production), you can use this command:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout domain.xyz.key -out domain.xyz.crt -addext “subjectAltName = DNS:domain.xyz, DNS:www.domain.xyz”
This generates both a self-signed certificate (domain.xyz.crt
) and a private key (domain.xyz.key
). However, self-signed certificates are not recognized as valid by public browsers or systems. They are only suitable for internal or development environments.
Import an intermediate certificate
When adding a custom SSL certificate, it is possible to import the intermediate certificate (by importing the .crt
file or pasting the data provided by the certification authority):
This guide explains how to establish the first SSH connection on your Cloud VPS / Lite VPS.
Run a command with root privileges...
From a terminal application (command-line interface, CLI / Command Line Interface
) on your device, for example the application PuTTY (to download and install on Windows) or Terminal (installed by default on macOS), run sudo -i
to load the full root environment, giving you a complete interactive session as root with the personal directory and root environment variables.
... on macOS or Linux
To connect, you must open a Terminal window and run the following command:
ssh -i [key path] [user]@[server]
[key path]
= link to the file containing the private key; as a reminder, when ordering your Cloud VPS / Lite VPS, you were invited to generate a key pair or upload your own public key (permissions must be sufficient, 0700 for example)[user]
= see below for default usernames[server]
= server's IPv4 address (indicated on the Manager)
Example: ssh -i c:/path/key ubuntu@192.168.1.1
If you encounter the error "WARNING: UNPROTECTED PRIVATE KEY FILE!", run the command chmod 400 [key path]
.
... on Windows
Windows does not allow SSH connections natively: enable the Bash shell (Windows 10 minimum) or download the following two free software: PuTTY & PuTTYgen
To begin, your private key must be converted to be used with PuTTY.
To do this, open PuTTYgen and click the "Load
" button to load your private key. Then save your private key using the "Save private key
" button.
Now open PuTTY and provide the following elements:
Under Session
(in the left sidebar):
'
[HostName]
= server IPv4 address (indicated on the Manager)
'
[Port]
= leave the default port, i.e. 22
'
[Connection type]
= specify here “SSH”
''
Under Connection / SSH / Auth
(in the left sidebar):
'
- open your private key generated via PuTTYgen using the “
Browse
” button under “Private key file for authentication
” - click the “
Open
” button at the bottom of the window, a terminal will open and ask for your username (user
= see below)
Default username [user] for unmanaged Cloud servers with:
Linux distributions table
Linux distribution | Default user |
---|---|
AlmaLinux | almalinux |
Arch Linux | arch |
CentOS | cloud-user |
Debian 7 “Wheezy” and earlier versions | root |
Debian 8 “Jessie” and later versions | debian |
Fedora | fedora |
FreeBSD | freebsd |
Ubuntu | ubuntu |
OpenBSD | openbsd |
openSUSE Leap 15 | opensuse |
openSUSE 42 | root |
RancherOS | rancher |
SUSE Linux Enterprise Server | root |
The user is always the default user of the distribution.
This guide explains how to resolve issues that may occur with a Web Hosting if the latter has undergone modifications at the IP address level (for example, a server move) and your computer retains the old position in its DNS cache.
Flush the DNS cache...
When you visit a website, your computer stores a local association between the domain name and its IP address in the DNS cache. This speeds up the DNS resolution process for future visits to the same site, as the computer can avoid re-consulting the DNS servers to obtain the IP address.
By flushing the DNS cache, you force your computer to query the DNS servers again to obtain the latest up-to-date information on the IP addresses of the sites you visit.
... on Windows
Run the following command from a Terminal
type application (command line interface, CLI / Command Line Interface
) on your device. Example:
- Open the Start menu.
- Type cmd.
- In the search results, click on Command Prompt.
- Run the command
ipconfig /flushdns
.
... on macOS
Run the following command from a Terminal
type application (command line interface, CLI / Command Line Interface
) on your device:
- Run the command
lookupd -flushcache
(in case of failure:dscacheutil -flushcache
).
... on Linux
Run the following command from a Terminal
type application (command line interface, CLI / Command Line Interface
) on your device:
- Run the command
sudo systemctl restart nscd
orsudo /etc/init.d/nscd restart
to restart nscd.
Git and GitHub are available at Infomaniak with all hosting offers on…
and of course the Jelastic Cloud offer, which will allow you to deeply integrate versioning.
This guide allows you to “unlock” any Windows parameter blocked by the message “Some settings are hidden or managed by your organization” (such as changing the wallpaper, for example) and lift these restrictions in place by default on the server offer VPS Cloud / VPS Lite.
Reset the local group policy settings
To reset all local group policy settings to their default values:
- Open the command prompt as an administrator.
Enter the following commands:
RD /S /Q "%windir%\System32\GroupPolicyUsers" RD /S /Q "%windir%\System32\GroupPolicy" gpupdate /force
- Restart the machine.
This guide explains how to run the open source dependency manager Composer 2 using an SSH command.
Preamble
- Composer is an open-source dependency manager for PHP that allows you to define, install, and update the libraries required for a PHP project.
- Composer 1 has been obsolete since 2021 and will no longer allow the installation of new packages or updates since 2025.
- Only version 2 of Composer is now supported and available on all PHP versions from 7.2 to 8.3.
Run Composer 2
Composer 2 is already pre-installed and accessible via SSH. Therefore, there is no need to install it manually.
Simple usage
Log in to your hosting via SSH, then use the following command:
composer
This command will automatically run version 2 of Composer, which is compatible with the PHP version currently in use in your session.
Check the active version
You can check the available version of Composer with:
composer --version
Example output: Composer version 2.5.0 2022-12-20 10:44:08
Force a specific PHP version
If you want to run Composer with a specific version of PHP, aliases are available. For example:
composer_php8.1 --version
or for example:
composer_php7.4
These aliases allow you to run Composer 2 with the specified PHP interpreter, useful for testing or deploying a project on a target version of PHP.
This guide explains how to update a Let's Encrypt SSL certificate for a website hosted by Infomaniak.
Preamble
- It may be necessary, following the addition or removal of aliases to a website, to regenerate a certificate to include the new domain names linked to the website.
- The dashboard will clearly indicate that one of the domains linked to the site is not included in the current SSL certificate:
Update a Let's Encrypt certificate
To access certificate management:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question:
- Click on the action menu ⋮.
- Click on Change the certificate:
- Select the type of certificate to update.
- Click on the Next button:
- Check or select the relevant domains.
- Click on the button Install:
This guide lists the supported operating systems (Linux distributions) that can be installed when ordering a VPS Cloud / VPS Lite.
Prerequisites
- Set a password for your user after first connecting with the private key, especially to troubleshoot your server by connecting via the VNC console in case of an issue.
Natively supported Linux distributions
Debian
If you come from the Debian community, then a server of this type would be an excellent choice, an alternative to CentOS proposed below. The editions of Debian are very stable, especially since "Buster" or more recently "Bookworm" (Debian 12). Learn more
Ubuntu
If you are familiar with Ubuntu desktop version, you might want to have it on your server. Learn more
FreeBSD
The base code of FreeBSD has been continuously developed, improved, and optimized for over thirty years. It is developed and maintained by a large team of people. FreeBSD offers advanced network features, enhanced security, and high-level performance. Learn more
openSUSE
This distribution is ideal for beginners, experienced users and ultra geeks, in short, it is suitable for everyone! Learn more
CentOS
CentOS is the most popular distribution for a web server and therefore has great support, whether on the community forum or anywhere on the Web. CentOS editions are very stable in the long term. Learn more
Other Linux distributions
Infomaniak regularly adds new Linux distributions:
- Fedora
- rancherOS
- ArchLinux
- AlmaLinux
- RockyLinux
Specific distribution / disk image
Only official images can be installed and Infomaniak does not install any operating system from an ISO disk image. If you wish to install a specific distribution, you can do so by importing the image to Public Cloud.
This guide explains how to change the PHP version directly from the command line when you run PHP scripts using PHP CLI (Command Line Interface) on an Web Hosting Infomaniak.
Preamble
- This can be useful when you need to temporarily modify certain parameters for a specific script or for a PHP session.
- If you use only the mention
php
below, it is the release preceding the one already in place that will be installed (last version -1): if the last installed version is 8.1, it is 8.0 that will be used with "php
". It is preferable to use the mentionphp7.0
,php7.1
, etc. so that the version does not change over time with updates. - Refer to this other guide if you are looking for information about configuring the PHP version set on the Infomaniak Manager.
Change the PHP version used in CLI
It is possible to easily modify the PHP version used in the command line (CLI) via SSH:
- Log in to the server via SSH (need help?).
Create a
.profile
file if it does not exist:touch ~/.profile
Edit the
.profile
file:nano ~/.profile
Add this code inside the file to select the desired PHP version:
export PATH=/opt/php7.4/bin:$PATH
Load the
.profile
file:source ~/.profile
Check the PHP version:
php -v
Interactive mode
The .profile
file mentioned above is only loaded when the user interface is used. In SSH (login mode), it is the .bash_profile
file that is sourced. And in interactive mode (non-login), it is the .bashrc
file that is sourced.
Some server deployment scripts open sessions in interactive (non-login) mode and the environment variables are not loaded into the PATH even if the SSH session is correctly configured.
In this case, you need to load the php version in the .bashrc
file (export PATH="/opt/php7.4/bin:$PATH"
), and source the .bashrc
file in the .bash_profile
and .profile
files (. ~/.bashrc
).
After following these steps, the version of PHP you specified should be loaded into your shell environment every time you open a new session. This will allow you to run scripts using this version of PHP from the command line (CLI).
This guide explains how to install applications, PHP extensions and technologies (non-exhaustive list below) in a few clicks on Serveur Cloud only.
Refer to this other guide if you are looking for information about additional Web Applications that can be installed on any type of hosting, including standard/shared offers.
Install (or uninstall) apps / PHP extensions…
To find the list of technologies and proceed with their installation:
- Click here to access the management of your Cloud Server on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant Cloud Server.
- Click on PHP Extensions or on ‘Fast Installer’ in the left sidebar:
- Click on the action menu ⋮ to the right of the extension you wish to uninstall in the displayed table.
- Click on Uninstall.
- Otherwise, click on the blue button Install an extension to make your choice for a new installation:
Non-exhaustive list of available apps & extensions
AdvanceCOMP
BuildEssential
electron_dev
ExifTool
FFmpeg
↗ guideGhostscript
Gifsicle
GraphicsMagick
HAProxy
Imagemagick
↗ guideJpegoptim
libjpeg_turbo
libqrencode
libX11_xcb1
MidnightCommander
Memcached
↗ guidemongoDB
NVM Node Version Manager
OptiPNG
p7zip
PDFtk
PHP_APCu
PHP_CLI
↗ guidePHP_FPM
PHP_GnuPG
PHP_gRPC
PHP_igbinary
PHP_IonCube
↗ guidePHP_OPcache
PHP_PDF
PHP_PDO_ODBC
↗ guidePHP_Swoole
pip
Pngcrush
Pngquant
Redis
↗ guideRRDTool The Round Robin Database Tool
RubyCompass
systemd
↗ guidetesseract_ocr
varnish
↗ guidevirtualenv
WebP
xauth
xpdf
xvfb
ZSH
This guide concerns the task scheduler, a feature that allows you to run scripts on Web Hosting at the time and frequency of your choice to automate repetitive tasks.
Also refer to this other guide if you are looking for information about crontab (crons via SSH) on Serveur Cloud.
Access the task scheduler (webcron)
To access the task scheduler tool:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Web in the left sidebar.
- Click on Task Scheduler in the left sidebar:
- Click on Tasks in the left sidebar.
- The existing crons and running tasks are displayed under the two tabs of the page:
- Click the Schedule a task button to create a scheduled task, specifying whether the script URL to be executed is password-protected, if you want to receive notifications, and of course the desired interval (see below), etc.
- Do not forget to activate the task using the toggle switch.
Minimum intervals
You can schedule the cron at a minimum interval of:
- 15 minutes with a shared hosting
- 1 minute on Serveur Cloud
Access the log of the executed task
Click on the action menu ⋮ located to the right of the relevant item to access quick management of your task and its execution log: