1

I have been trying to run a command on scheduled basis via a cron job. I am logged in as a non-root user. The command requires the exact PATH (bash_profile) of user. I tried to exporting the PATH using /home/<user>/.bash_profile file but it is not exporting the entire path. Any help?

legoscia
  • 39,593
  • 22
  • 116
  • 167
Sagar birla
  • 41
  • 1
  • 1
  • 6
  • Did you see [other answers](http://unix.stackexchange.com/questions/27289/how-can-i-run-a-cron-command-with-existing-environmental-variables) ? – Walter A May 27 '15 at 08:28
  • possible duplicate of [Where can I set environment variables that crontab will use?](http://stackoverflow.com/questions/2229825/where-can-i-set-environment-variables-that-crontab-will-use) – Toby Speight May 27 '15 at 10:42

0 Answers0