亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: crontab 報錯 [打印本頁]

作者: huoniao    時間: 2004-01-10 16:59
標(biāo)題: crontab 報錯
我做了一個定時備份
root#[/]crontab -l
39 16 * * * fbackup -f /dev/rmt/0m -i /etc/group
卻得到了mai如下:root#[/]mail
From root@root Sat Jan 10 16:39:31 EAT 2004
Received: (from root@localhost)
by root (8.9.3/8.9.3) id QAA28358
for root; Sat, 10 Jan 2004 16:39:31 +0800 (EAT)
Date: Sat, 10 Jan 2004 16:39:31 +0800 (EAT)
From: root@root
Message-Id: <200401100839.QAA28358@root>;
Subject: cron

fbackup(1004): session begins on Sat Jan 10 16:39:01 2004
fbackup(3203): volume 1 has been used 3 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(3055): total file blocks read for backup: 15
fbackup(3056): total blocks written to output file /dev/rmt/0m: 39


*************************************************
Cron: 前面的信息是標(biāo)準(zhǔn)輸出
和您的一個 crontab 命令的標(biāo)準(zhǔn)錯誤:

fbackup -f /dev/rmt/0m -i /etc/group

這到底是怎么回事?謝謝指點!
作者: huoniao    時間: 2004-01-10 21:57
標(biāo)題: crontab 報錯
為什么各位老大不理我啊,ding
作者: Shad    時間: 2004-01-10 22:10
標(biāo)題: crontab 報錯
Your cron and fbackup do not have problem. The mail you received is a notification of the cron job, it's not an error.
作者: huoniao    時間: 2004-01-11 10:17
標(biāo)題: crontab 報錯
Cron: 前面的信息是標(biāo)準(zhǔn)輸出
和您的一個 crontab 命令的標(biāo)準(zhǔn)錯誤:

fbackup -f /dev/rmt/0m -i /etc/group

那提示中的標(biāo)準(zhǔn)錯誤是什么意思啊?謝謝
作者: Shad    時間: 2004-01-11 10:33
標(biāo)題: crontab 報錯
That is normal.

The "標(biāo)準(zhǔn)錯誤" is just standard error, that is a Unix term. You know what is standard input (usually your keyboard), standard output(usually your terminal or console), standard error (the place that your process' errors go), right?

When you use cron, you did not redirect the standard error to anywhere else, so it just remind you the standard error is included in the email.

Nothing is wrong in your cron job and your fbackup.
作者: rat326    時間: 2004-01-12 10:05
標(biāo)題: crontab 報錯
樓主:你的cron沒問題。Standard error(標(biāo)準(zhǔn)錯誤)是正常的輸出。
作者: 哈哈呵呵    時間: 2004-01-12 17:29
標(biāo)題: crontab 報錯
重定向輸出試試!
作者: day_dream    時間: 2004-01-14 10:51
標(biāo)題: crontab 報錯
正常mail




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2