Ben Eisemann

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: PPPD call on MTCDP-H5 vs MTCDP-E1 #4745
    Ben Eisemann
    Participant

    Lonny,

    That did it!

    Thanks for the reply and the sharing of your expertise.

    God Bless,

    Ben

    in reply to: Is cron usable? #4715
    Ben Eisemann
    Participant

    Bryan,

    Thanks for the reply. I did end up getting it worked out. I added:

    #!/bin/bash

    and also a PATH deceleration (don’t have access to the gateway device at the moment so I can’t quote the exact) at the top of my script and that worked. Turns out the environmental variables are different for the user trying to run the cron job then the user logged in as root. By setting the BASH reference I ensure its interpreted properly and by setting the PATH reference I allow for the system to find the commands I use in the script. Can’t say whether it was the BASH or the PATH deceleration that actually fixed it. But having both probably makes for better coding practice anyways.

    Thanks!

    – Ben

Viewing 2 posts - 1 through 2 (of 2 total)