crontab的問題 - Linux

By Odelette
at 2009-05-31T16:17
at 2009-05-31T16:17
Table of Contents
0 7 * * * /user/../client XXX.XXX.XXX.XXX 我在crontab寫入了這樣的指令
(絕對路徑) (IP位址)
目的是讓這個程式在每天早上七點執行
程式內容是連線到IP所代表的網站,將網站內容的原始檔抓下來存成data.txt
現在問題來了,單獨測的時候都沒有問題
但是一寫入crontab,自動執行之後雖然也會產生data.txt
內容卻是空的...?
上網查之後發現好像是說用fprintf會有問題?
請問這問題該怎麼解決呢=___=?
--
Tags:
Linux
All Comments

By Olga
at 2009-06-01T12:03
at 2009-06-01T12:03

By Hedda
at 2009-06-01T16:49
at 2009-06-01T16:49

By Ivy
at 2009-06-04T09:11
at 2009-06-04T09:11

By Barb Cronin
at 2009-06-06T05:42
at 2009-06-06T05:42

By Dorothy
at 2009-06-06T12:56
at 2009-06-06T12:56

By Franklin
at 2009-06-10T17:30
at 2009-06-10T17:30

By Edith
at 2009-06-12T15:12
at 2009-06-12T15:12

By Susan
at 2009-06-13T01:32
at 2009-06-13T01:32
Related Posts
請問為什麼 aptitude install 找不到套件

By Megan
at 2009-05-31T00:53
at 2009-05-31T00:53
請問 PCI: Not using MMCONFIG 是什麼

By Emma
at 2009-05-30T20:54
at 2009-05-30T20:54
請問為什麼 aptitude install 找不到套件

By Sandy
at 2009-05-30T20:30
at 2009-05-30T20:30
那些老師沒教的事:自由軟體法律授權分析

By Hamiltion
at 2009-05-30T12:39
at 2009-05-30T12:39
cygwin 有類似 dos 的 cls 指令嗎?

By Jacky
at 2009-05-30T11:16
at 2009-05-30T11:16