.TIMER

TIMER ファイル

Systemd Timer Unit File
質問する
クイック回答

.timerファイルは、Linuxにおいて別のユニット(通常は対応する.serviceファイル)の実行スケジュールを管理するsystemdユニットであり、cronに代わる現代的な仕組みです。INI形式の小さなプレーンテキストファイルであるため、nanovim、VS Codeなどのテキストエディタで開いて編集できます。有効化するには、ファイルを/etc/systemd/system/に配置し、systemctl enable --now name.timerを実行します。スケジュールされたタイマーを確認するにはsystemctl list-timersを使用します。

開発元: systemd project (originally Lennart Poettering and Kay Sievers) カテゴリ: 設定ファイル オープンスタンダード MIME: text/plain
対応OS Windows macOS Linux
関連: .ICA · .DS_STORE · .WMZ · .CFG

このページの内容

19k+ 個の拡張子を索引済み
最終確認日:Aug 25, 2026

ファイルの種類がわかりませんか?

ファイルを識別ツールにドロップしてください。最初の数バイトを読み取って形式を特定します。

ファイルを識別する

TIMER ファイル形式とは?

.timerファイルは、ほとんどのLinuxディストリビューションで採用されている初期化システムおよびサービスマネージャーであるsystemdで使用されるタイマーユニットです。これは別のユニット(通常は対応する.serviceファイル)がいつ実行されるかをスケジュールし、cronの現代的な代替として機能します。ファイルはINI形式の小さなプレーンUTF-8テキストであり、プログラムコードではなくスケジュール情報を保持します。

各タイマーは通常、同じベース名を持つサービスとペアになります。例えば、backup.timerというファイルは、Unit=ディレクティブで別のターゲットが指定されていない限り、backup.serviceを起動します。ユニットは3つのセクションで構成されています。説明と依存関係を記述する[Unit]、スケジュールを記述する[Timer]、そしてWantedBy=timers.targetによる有効化を記述する[Install]です。

スケジュールには2つの形式があります。リアルタイムタイマーは、cronジョブのようにカレンダーイベントで実行するためにOnCalendar=を使用します。モノトニックタイマー(OnBootSec=OnUnitActiveSec=など)は、起動や前回の実行といった基準イベントからの経過時間で実行されます。Persistent=trueなどのオプションを使用すると、マシンがオフだったために逃した実行を再開でき、RandomizedDelaySec=は多くのホスト間での負荷を分散させることができます。

セキュリティと安全性

リスク: LOW

A .timer file is plain text with no executable code, so opening it in an editor is safe. The real consideration is trust: a timer can schedule any system command through its paired service, so only install units from sources you trust and review them before enabling with systemctl.

形式の詳細

概要
正式名称Systemd Timer Unit File別名 Systemd Timer Unit, Timer Unit Configuration File
開発元systemd project (originally Lennart Poettering and Kay Sievers)登場時期 2012 (systemd timer units)
カテゴリ設定ファイル
MIME タイプtext/plain
タイプPlain-text INI-style unit configuration file
標準規格オープン・ロイヤリティフリー
この拡張子は以下でも使用されています…
  • Construct 2/3 timer behavior data - Some game and animation tools store timer state, but this is not the dominant meaning of the extension.
  • Generic application timer/config data - A few niche programs write settings files named with a .timer suffix; these are unrelated to systemd.

TIMER ファイルを開くプログラム

Windows2 apps
Notepad オープンソース Open the file as UTF-8 text to read or edit sections and directives.
Visual Studio Code フリーミアム View or author a .timer file on a workstation before copying it to a Linux host; opens as plain text with optional systemd/INI highlighting.
macOS2 apps
BBEdit フリーミアム View or edit the unit file as plain text.
Visual Studio Code フリーミアム Open and edit the .timer unit as text before deploying it to a Linux server.
Linux5 apps
Vim オープンソース Edit the timer unit with vim /etc/systemd/system/name.timer; syntax highlighting for systemd units ships with Vim.
GNU Nano オープンソース Open the file for quick edits with nano /etc/systemd/system/name.timer; run systemctl daemon-reload afterward to apply changes.
systemd / systemctl オープンソース Manage the timer with systemctl: enable and start it via systemctl enable --now name.timer, inspect the schedule with systemctl list-timers, and check status with systemctl status name.timer.
systemctl edit / systemd-analyze オープンソース Create or override a timer safely with systemctl edit name.timer and validate its calendar expression using systemd-analyze calendar "OnCalendar-string".
Visual Studio Code フリーミアム Open the .timer file as a plain-text unit; the systemd/INI extensions add highlighting and directive hints.

技術的詳細

詳細仕様
EncodingUTF-8 plain text
Byte orderNot applicable (text)
ContainerNone; INI-style key=value sections
Typical sizeUnder 1 KB
StructureThree sections: [Unit] for description and dependencies, [Timer] for the schedule (OnCalendar, OnBootSec, OnActiveSec, OnUnitActiveSec, OnStartupSec, OnUnitInactiveSec, AccuracySec, RandomizedDelaySec, Persistent, Unit), and [Install] for enablement via WantedBy=timers.target.
IntegrityNone built in
PlatformsLinux
NotesEach .timer file normally pairs with a same-named .service file (foo.timer triggers foo.service unless Unit= overrides). Timers come in realtime (calendar) and monotonic (relative to boot, activation, or last run) forms and serve as a cron alternative managed through systemctl and logged to the systemd journal.
File LocationsSystem units in /usr/lib/systemd/system/ (packaged) and /etc/systemd/system/ (admin overrides); user units in ~/.config/systemd/user/ and /etc/systemd/user/.
Line EndingsUnix LF
リリース日2012 (systemd timer units)
オープンスタンダードはい · ロイヤリティフリー
仕様書man7.org

TIMER の変換

コミュニティ Q&A

ユーザーからの質問
質問する
TIMER ファイルを扱うユーザーからヘルプを得られます。OSやソフトウェアのバージョンなど、具体的に記載してください。
アカウント不要 ・ 通常1日以内に回答されます

まだ質問はありません。TIMER ファイルについて最初の質問をしてみましょう。

よくある質問

.timerファイルはどうやって開きますか?
nanovim、VS Code、Notepad++などのテキストエディタで開けます。小さなプレーンテキストファイルなので、読み取るために特別なソフトウェアは必要ありません。
.timerと.serviceファイルの違いは何ですか?
.serviceファイルは「何を実行するか」を定義し、.timerファイルは「いつ実行するか」を定義します。backup.timerという名前のタイマーは、Unit=ディレクティブで別段の指定がない限り、backup.serviceを起動します。
タイマーを有効にして開始するにはどうすればよいですか?
ファイルを/etc/systemd/system/に配置し、systemctl daemon-reloadを実行してから、systemctl enable --now name.timerを実行します。systemctl list-timersで確認してください。
systemdタイマーはcronよりも優れていますか?
タイマーはログ記録のためにsystemdジャーナルと統合されており、依存関係をサポートし、Persistent=trueで逃した実行を補完できます。cronはよりシンプルで、Unixシステム間でのポータビリティが高いです。どちらも有効な手段ですが、現代のLinuxではタイマーが一般的です。
タイマーが作動しないのはなぜですか?
systemctl status name.timerでタイマーが有効かつアクティブであることを確認し、対応するサービスが存在すること、およびOnCalendar=の式が正しいことを確認してください。systemd-analyze calendar "your-string"で式をテストできます。
WindowsやmacOSで.timerファイルを開けますか?
はい、閲覧や編集のためのテキストとして開くことができます。ただし、タイマーが動作するのはLinux上のsystemd環境のみです。任意のOSでファイルを作成し、Linuxホストにデプロイしてください。

参考文献

1systemd.timer(5) - Linux manual page (man7.org)man7.org
2systemd/Timers - ArchWikiwiki.archlinux.org

さらに探索

データベース全体から

今週のトップ拡張子

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

関連する拡張子

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

無料ファイルツール

ブラウザで動作するファイル識別および画像変換ツール。すべてお使いのデバイス上で実行されます。

ツールボックスを開く

ファイル拡張子を A-Z で閲覧