#author("2019-05-31T09:20:31+09:00","default:kuji","kuji") #author("2019-05-31T09:21:04+09:00","default:kuji","kuji") CONTENTS #contents ---- Lastmodified &lastmod; ---- *portsnap cron [#m26f1211] # Update ports tree 0 3 * * * root portsnap cron && portsnap update >/dev/null && /usr/local/sbin/portversion -vL= [Reading data from pkg(8) ... - 493 packages found - done] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 32227 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000..... ....10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000 .........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000......... 27000.........28000.........29000.........30000.........31000.........32000.. ..... done] ap24-mod_http2-devel-1.11.4 ? error - origin not found areca-cli-amd64-1.14.7.150519,1 ? error - origin not found bind-tools-9.14.1 < needs updating (port has 9.14.2) とエラーのない機体がある一方、 # Update ports tree 0 1 * * * root portsnap cron && portsnap update >/dev/null && /usr/local/sbin/portversion -vL= sh: perl: not found make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status sh: perl: not found make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status sh: perl: not found make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status sh: perl: not found make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status [Reading data from pkg(8) ... - 440 packages found - done] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 32229 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000..... ....10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000 .........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000......... 27000.........28000.........29000.........30000.........31000.........32000.. ..... done] ap24-mod_http2-devel-1.11.4 ? error - origin not found bind-tools-9.14.1 < needs updating (port has 9.14.2) bind911-9.11.6P1 < needs updating (port has 9.11.7) 一見動作しているが、エラーも吐く機体がある。これに /etc/crontab の path に、:/usr/local/bin 追加 SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin ** 【SOLVED】 [#ga487255] 更に、 SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin とすることで抑制できた機体もあった ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);