0

I've seen some inconsistencies between the cron environment and my environment.

For example, I have installed paver (pip install paver) in my environment and calling paver works paver. Using paver in my cron doesn't work command not found. Everything is done through the same user root.

Any idea ?

AsTeR
  • 257

1 Answers1

1

Just use full paths to binaries in your cron. So paver should be /usr/bin/paver (or wherever paver binary is).

You can find this out easily with which command:

$ which cd
/usr/bin/cd
ek9
  • 2,131