Perl script works but not via CRON

前端 未结 6 1939
太阳男子
太阳男子 2020-12-11 11:56

I have a perl script (which syncs delicious to wp) which:

  1. runs via the shell but
  2. does not run via cron (and i dont get an error)

The o

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-11 12:47

    it seems the problem is not in running perl, but locating the Config library

    you should try:

    perl -e "print @INC"

    and run a similar perl script in cron, and read the output

    it possible that they differ

提交回复
热议问题