cpanel users running cron jobs

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
I want users who have their own cpanel account to be able to run the following command.

/scripts/pkgacct their-account-name

Can they do this through their cpanel (via the cron job tab)?? - Or if I create a script that would do it, and they could just run the script.

Any help appreciated, as I have never set up a cron job before.

Thanks
Daniel
 

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
/scripts/ is owned by root.

Why would you need/want this for your users?
Because from past experience the resulting backup file is very easy to restore, compared to the ones in WHM and cpanel.

Thanks
Daniel