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

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1964 | 回復(fù): 7
打印 上一主題 下一主題

crontab 報錯 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2004-01-10 16:59 |只看該作者 |倒序瀏覽
我做了一個定時備份
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: 前面的信息是標準輸出
和您的一個 crontab 命令的標準錯誤:

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

這到底是怎么回事?謝謝指點!

論壇徽章:
0
2 [報告]
發(fā)表于 2004-01-10 21:57 |只看該作者

crontab 報錯

為什么各位老大不理我啊,ding

論壇徽章:
0
3 [報告]
發(fā)表于 2004-01-10 22:10 |只看該作者

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.

論壇徽章:
0
4 [報告]
發(fā)表于 2004-01-11 10:17 |只看該作者

crontab 報錯

Cron: 前面的信息是標準輸出
和您的一個 crontab 命令的標準錯誤:

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

那提示中的標準錯誤是什么意思啊?謝謝

論壇徽章:
0
5 [報告]
發(fā)表于 2004-01-11 10:33 |只看該作者

crontab 報錯

That is normal.

The "標準錯誤" 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.

論壇徽章:
0
6 [報告]
發(fā)表于 2004-01-12 10:05 |只看該作者

crontab 報錯

樓主:你的cron沒問題。Standard error(標準錯誤)是正常的輸出。

論壇徽章:
0
7 [報告]
發(fā)表于 2004-01-12 17:29 |只看該作者

crontab 報錯

重定向輸出試試!

論壇徽章:
0
8 [報告]
發(fā)表于 2004-01-14 10:51 |只看該作者

crontab 報錯

正常mail
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP