TimeManager
Functions
crontab.h File Reference

crontab形式で指定した開始時刻を取得するコマンドに関する宣言。 More...

Go to the source code of this file.

Functions

int crontab (int argc, char *argv[])
 crontab形式で指定した開始時刻を取得する。 More...
 

Detailed Description

crontab形式で指定した開始時刻を取得するコマンドに関する宣言。

Function Documentation

int crontab ( int  argc,
char *  argv[] 
)

crontab形式で指定した開始時刻を取得する。

引数から取得したcrontab形式の文字列を解析して、直近の時刻を取得する。 取得した時刻はstdinから読み込んだスケジュールの開始時刻に反映して、 stdoutに出力する。

  • デフォルトの検索範囲は、プログラム実行時刻から24時間。
Parameters
[in]argcargc値
[in]argvargv値
Returns
成功時は0、失敗時には1、使用方法に誤りがある場合は2、時刻が見つから ない場合は3を返す。