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. 2024-03-28, 17:46:10

Author Topic: Cron Scheduled Tasks not work  (Read 8026 times)

0 Members and 1 Guest are viewing this topic.

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Cron Scheduled Tasks not work
« on: 2015-06-28, 12:25:54 »
Hi.
i alway use Cronjob with add simple, it is work perfect. But i use add complex, it don't work.
Cronjob code complex

root   wget -q -O - http://domain.com    localhost   complex   --all--   6   --all--   --all--   --all--

Cronjob code simple

root   wget -q -O - http://domain.com    localhost   simple   --all--   --all--   --all--   -   -
please help me thanks.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cron Scheduled Tasks not work
« Reply #1 on: 2015-06-28, 12:58:04 »
Check the content of files inside /var/spool/cron
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #2 on: 2015-06-28, 14:15:25 »
it not exist. but show Cron Scheduled Tasks.
i try hand add them. and reboot server.
but look like not work.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cron Scheduled Tasks not work
« Reply #3 on: 2015-06-28, 14:39:19 »
If you add cron under admin you will see file 'root' inside.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #4 on: 2015-06-28, 14:43:39 »
i add by hand to root ( /var/spool/cron/root).
but it not work. how can fix it.
Thanks @MRatWork
« Last Edit: 2015-06-28, 14:52:22 by tinhphaistc »

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #5 on: 2015-06-28, 14:57:43 »
and i added by ADMIN but not exist inside root (file).

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cron Scheduled Tasks not work
« Reply #6 on: 2015-06-28, 15:58:50 »
Are you using Kloxo-MR 6.5 or 7.0?. Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #7 on: 2015-06-28, 16:10:06 »
i use Kloxo MR 7.

SysInfo
A. Kloxo-MR: 7.0.0.b-2015052403
   - Web: hiawatha-9.13.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.41-1.ius.el6 (fpm mode)

B. Plateform:
   - OS: CentOS release 6.6 (Final) x86_64
   - Hostname: codeigniter.vn

C. Apps:
   1. MySQL: MariaDB-server-10.0.19-1.el6.x86_64
   2. PHP:
      - Branch: php53u-5.3.29-1.ius.el6.x86_64
      - Multiple:
        * php54m-5.4.41-1.ius.el6
   3. Httpd: --uninstalled--
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.2-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64

D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          4840       1792       3047          0         75       1241
   -/+ buffers/cache:        475       4365
   Swap:         2047          0       2047

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cron Scheduled Tasks not work
« Reply #8 on: 2015-06-28, 16:19:50 »
Update your server with 'yum clean all; yum update y; sh /script/cleanup'. Latest upload is kloxomr7-7.0.0.b-2015062501
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #9 on: 2015-06-28, 21:15:29 »
updated...
i checking and report when have an result.
Thanks So Much.

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #10 on: 2015-06-28, 21:31:52 »
i checked, it not work with add Complex.
and i check file: / var / spool / cron / admin   
have item (url) added.

MAILTO=""
*   *   *   *   *   wget -q -O - http://example1.com
10   *   *   *   *   wget -q -O - http://example2.com

i added 2 link, but link http://example1.com work perfect. (with add type  simple).
and Link 2 not work (with add type complex)

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #11 on: 2015-06-29, 04:43:40 »
i more check, i see it run but don't true time set.
i set 10 minute. but long time it run.

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #12 on: 2015-06-30, 19:34:03 »
help me please

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #13 on: 2015-07-01, 14:36:21 »
Editing cron jobs still does not work properly. All minutes are reset to 0's.

Offline tinhphaistc

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Cron Scheduled Tasks not work
« Reply #14 on: 2015-07-04, 21:19:36 »
Editing cron jobs still does not work properly. All minutes are reset to 0's.
me, too

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.045 seconds with 19 queries.

web stats analysis