Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 03:07:05

Author Topic: cron job for mr 7  (Read 776 times)

0 Members and 1 Guest are viewing this topic.

Offline dobie

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
cron job for mr 7
« on: 2015-03-25, 09:21:41 »
hi i am trying to set up a cron job for this line

/usr/local/bin/php /home/admin/chatterzz.net/ccn/ow_cron/run.php

but will not work  what have i done wrong  thanx this set for every minute


thanx dave

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: cron job for mr 7
« Reply #1 on: 2015-03-25, 11:58:34 »
Use lxphp.exe instead /usr/local/bin/php

This is changed because security reason.

Also cron-job only work under admin by default.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dobie

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: cron job for mr 7
« Reply #2 on: 2015-03-25, 12:24:37 »
sorry for the questions as i  am new to this how do i change cron part from root to admin

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: cron job for mr 7
« Reply #3 on: 2015-03-25, 12:47:40 »
That mean 'root' is under 'admin'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dobie

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: cron job for mr 7
« Reply #4 on: 2015-03-26, 02:58:17 »
yes i signed in with  admin on mr 7 and when i go  cron i am root how do i fix this please so cron job will work

ty dave

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: cron job for mr 7
« Reply #5 on: 2015-03-26, 03:10:50 »
A simple way create .sh file where inside execute something like 'lxphp ...' and then use this .sh file as cronjob with 'sh /admin/a.sh'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.033 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM