Modernbill Cronjob setup

Hi all, I am in the process of setting up modernbill and boy has it been a learning curve!!!

The one thing i am stuck on is setting up a cronjob

Sounds simple from the documentation

bash-2.05a$ crontab -e

4. When the new screen appears, add the MAILTO line as the first entry in the file. See the example below.

MAILTO=admin@mydomain.com

5. Next, add your cronjobs to the file. Our example cronjobs are highlighted in red. You can add as many cronjobs as you need.

MAILTO=admin@mydomain.com
3-58/5 * * * * root /path/to/php -q -f /path/to/mb/include/scripts/cron_dispatch.cron.php /path/to/mb/ cron ENCKEY

6. Now save the file.
I enter crontab -e into ssh. It comes up with a screen saying
no crontab for impactco - using an empty one
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
-- INSERT --
First Problem, I do not know the path to php, how can I find this out? I have searched through so many directorys looking for it!

2nd problem. How can I save this file? I know using pico you just press ctrl + X but it doesnt seem so easy to do this via this command?

Anybody wish to end this stressfull issue?!


Thanks Modernbill Cronjob setup

 

 

 

 

Top