MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: tinhphaistc on 2015-06-28, 12:25:54

Title: Cron Scheduled Tasks not work
Post by: tinhphaistc 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.
Title: Re: Cron Scheduled Tasks not work
Post by: MRatWork on 2015-06-28, 12:58:04
Check the content of files inside /var/spool/cron
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc 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.
Title: Re: Cron Scheduled Tasks not work
Post by: MRatWork on 2015-06-28, 14:39:19
If you add cron under admin you will see file 'root' inside.
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc 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
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc on 2015-06-28, 14:57:43
and i added by ADMIN but not exist inside root (file).
Title: Re: Cron Scheduled Tasks not work
Post by: MRatWork on 2015-06-28, 15:58:50
Are you using Kloxo-MR 6.5 or 7.0?. Inform here 'sh /script/sysinfo'.
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc 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
Title: Re: Cron Scheduled Tasks not work
Post by: MRatWork 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
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc on 2015-06-28, 21:15:29
updated...
i checking and report when have an result.
Thanks So Much.
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc 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)
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc 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.
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc on 2015-06-30, 19:34:03
help me please
Title: Re: Cron Scheduled Tasks not work
Post by: Spacedust on 2015-07-01, 14:36:21
Editing cron jobs still does not work properly. All minutes are reset to 0's.
Title: Re: Cron Scheduled Tasks not work
Post by: tinhphaistc on 2015-07-04, 21:19:36
Editing cron jobs still does not work properly. All minutes are reset to 0's.
me, too
Title: Re: Cron Scheduled Tasks not work
Post by: MRatWork on 2015-07-04, 22:23:49
Yes, update still not work. Need delete and create new ones.