<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://techwiki.u-ff.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://techwiki.u-ff.com/feed.php">
        <title>技術wiki centos:forever</title>
        <description></description>
        <link>https://techwiki.u-ff.com/</link>
        <image rdf:resource="https://techwiki.u-ff.com/_media/wiki/favicon.ico" />
       <dc:date>2026-05-04T19:38:22+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://techwiki.u-ff.com/centos/forever/crontab"/>
                <rdf:li rdf:resource="https://techwiki.u-ff.com/centos/forever/install"/>
                <rdf:li rdf:resource="https://techwiki.u-ff.com/centos/forever/use"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://techwiki.u-ff.com/_media/wiki/favicon.ico">
        <title>技術wiki</title>
        <link>https://techwiki.u-ff.com/</link>
        <url>https://techwiki.u-ff.com/_media/wiki/favicon.ico</url>
    </image>
    <item rdf:about="https://techwiki.u-ff.com/centos/forever/crontab">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-22T16:32:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>foreverをcrontabで実行する方法</title>
        <link>https://techwiki.u-ff.com/centos/forever/crontab</link>
        <description>foreverをcrontabで実行する方法

ユーザーを切替


su


rootユーザーに切り替え。

crontabはユーザー単位の設定。

rootユーザーでcrontab -eを編集すると、
rootユーザーの権限でcrontabに設定したコマンドが実行される。</description>
    </item>
    <item rdf:about="https://techwiki.u-ff.com/centos/forever/install">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-22T11:42:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>foreverをインストール・設定する方法</title>
        <link>https://techwiki.u-ff.com/centos/forever/install</link>
        <description>foreverをインストール・設定する方法

foreverはnode.jsのアプリをバックグラウンドで起動するためのモジュール。

通常は、node xxx.jsのようなコマンドでxxx.jsのスクリプトを実行する。
しかし、これだと</description>
    </item>
    <item rdf:about="https://techwiki.u-ff.com/centos/forever/use">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-22T16:26:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>foreverの使い方</title>
        <link>https://techwiki.u-ff.com/centos/forever/use</link>
        <description>foreverの使い方

foreverでアプリを起動

ユーザーを切替


su


rootユーザーに切り替え。

foreverのコマンドは、そのときログインしているユーザーの権限で実行される。

forever start


forever start ./bin/www</description>
    </item>
</rdf:RDF>
