<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Commands on Webscale Product Documentation</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/</link><description>Recent content in Commands on Webscale Product Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webscale.com/hosting-platforms/hosting-v4/commands/index.xml" rel="self" type="application/rss+xml"/><item><title>build-php-image</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/build-php-image/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/build-php-image/</guid><description>&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;build-php-image&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="description"&gt;Description&lt;/h3&gt;
&lt;p&gt;This command applies only to the &lt;strong&gt;Essentials&lt;/strong&gt; tier. Higher tier environments
use &lt;a href="https://docs.webscale.com/docs/how-tos/codedirect/"&gt;CodeDirect&lt;/a&gt;
 to create container images and deploy
them on clusters.&lt;/p&gt;
&lt;p&gt;This command takes no arguments and uses &lt;code&gt;/etc/php/image/Dockerfile&lt;/code&gt; to build a
custom image for the stack. Once complete, the
&lt;a href="https://docs.webscale.com/hosting-platforms/hosting-v4/commands/dev/"&gt;&lt;code&gt;dev&lt;/code&gt;&lt;/a&gt;
 command will utilize the
custom image, as will
&lt;a href="https://docs.webscale.com/hosting-platforms/hosting-v4/services/php-fpm/"&gt;&lt;code&gt;php-fpm&lt;/code&gt;&lt;/a&gt;
 after a restart.&lt;/p&gt;</description></item><item><title>crontab-edit</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/crontab-edit/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/crontab-edit/</guid><description>&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;crontab-edit&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="description"&gt;Description&lt;/h3&gt;
&lt;p&gt;On an essentials or core server, allows editing the crontab for the user
&lt;code&gt;www-data&lt;/code&gt;. Ensure that the following lines are in the crontab before any
commands are specified, which will cause the crons to run in an application
environment by using the &lt;a href="https://docs.webscale.com/hosting-platforms/hosting-v4/commands/dev/"&gt;&lt;code&gt;dev&lt;/code&gt;&lt;/a&gt;

shell. Logs are written to &lt;code&gt;/var/log/php-fpm/cron.log&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;SHELL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/opt/webscale/bin/dev
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;DEV_LOG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/var/log/php-fpm/cron.log
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>dev</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/dev/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/dev/</guid><description>&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;dev&lt;/strong&gt; [&lt;strong&gt;-i&lt;/strong&gt;] [&lt;strong&gt;-c&lt;/strong&gt; command]&lt;/p&gt;
&lt;p&gt;Run an interactive shell or command in a temporary container.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;dev&lt;/strong&gt; &lt;strong&gt;-w&lt;/strong&gt; [&lt;strong&gt;-i&lt;/strong&gt;] [&lt;strong&gt;-c&lt;/strong&gt; command]&lt;/p&gt;
&lt;p&gt;Run an interactive shell or command in the live web server container of an
&lt;strong&gt;Essentials&lt;/strong&gt; server.&lt;/p&gt;
&lt;h3 id="options"&gt;Options&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;strong&gt;-c&lt;/strong&gt;&lt;/dt&gt;
&lt;dd&gt;Command. Runs a specified command.&lt;/dd&gt;
&lt;dt&gt;&lt;strong&gt;-i&lt;/strong&gt;&lt;/dt&gt;
&lt;dd&gt;Interactive. This maps standard input to the created process. This is the
default if no arguments are given.&lt;/dd&gt;
&lt;dt&gt;&lt;strong&gt;-w&lt;/strong&gt;&lt;/dt&gt;
&lt;dd&gt;Web server container. Connect to the currently live web server container. This
works on an &lt;strong&gt;Essentials&lt;/strong&gt; server where a web server container is running or
on a web server cluster server.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="description"&gt;Description&lt;/h3&gt;
&lt;p&gt;Run an interactive shell or a specified command in an application container.
When not attaching to an existing web container, the environment is established
exactly as when starting the web container. Shared entries from the shared
file system (&lt;code&gt;/var/www&lt;/code&gt; for a core server and &lt;code&gt;/share/www&lt;/code&gt; for a web server),
are mounted at &lt;code&gt;/var/www&lt;/code&gt; in the created container. Changes that are made to
the filesystem that are not shared will be lost when the shell exits.&lt;/p&gt;</description></item><item><title>rabbitmqctl</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/rabbitmqctl/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/rabbitmqctl/</guid><description>&lt;p&gt;This is has identical options and behavior to the RabbitMQ
&lt;a href="https://www.rabbitmq.com/docs/man/rabbitmqctl.8" target="_blank"&gt;&lt;strong&gt;rabbitmqctl&lt;/strong&gt;&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 command.&lt;/p&gt;</description></item><item><title>supervisorctl</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/supervisorctl/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/commands/supervisorctl/</guid><description>&lt;p&gt;This has identical options and behavior to the Supervisor
&lt;a href="https://supervisord.org/running.html#running-supervisorctl" target="_blank"&gt;&lt;strong&gt;supervisorctl&lt;/strong&gt;&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;

command.&lt;/p&gt;</description></item></channel></rss>