Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Could be the fact that the default PATH in cron is minimal. Always recommended to specify absolute path to all cmds/files used or (better) put the whole thing in a script, call that and source/specify required PATH.
EG start by cd'ing into your dir, then copy PATH definition from your env.
The real problem is that % signs need to be escaped, since they have a special meaning in crontab. The % signs in crontab will be changed to newline and everything after the first % sign is interpreted as standard input to the command. Therefore you crontab entry will result in: