因为没有crontab权限 , 想写个 脚本定时运行某个perl 脚本
 怎写? 如每隔1小时运行 A.pl 
 是这样么,不记得了, 
 alarm ( 3600 )  ;   
 $SIG{ ALM }  =  sub  {
      system "perl  A.pl " ;
      alarm ( 3600 ) ;
 }
 ?
--
Yours Sincerely
Zeng Hong
       -- --
Yours Sincerely
Zeng Hong
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
没有评论:
发表评论