Thanks DrByte,

I will put the cron script in the public_html directory and have this script includes all necessary files, then calls vendor scripts depends on the parameters passed in by the cron command. I think this will solve my problems.