MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: hoop on 2015-09-23, 18:43:55

Title: Cron Scheduled pages are blank
Post by: hoop on 2015-09-23, 18:43:55
One of my sites need run Cron job to work some Functions,I create user for this site under this client account   Cron Scheduled Tasks Add simple and Add complex pages are blank

Code: [Select]
sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015091201
   - Web: hiawatha-9.14.0-f.6.mr.el6.i386
   - PHP: php54s-5.4.44-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) i686
   - Hostname: server1.como.cricket
C. Services:
   1. MySQL: MariaDB-server-10.0.21-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --used--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        402        109          4          0        197
   -/+ buffers/cache:        204        307
   Swap:          512         58        453
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       50G  1.9G   49G   4% /
Title: Re: Cron Scheduled pages are blank
Post by: MRatWork on 2015-09-23, 18:57:05
Enable 'Enable Cron For All Users' in 'Admin > General Settings'
Title: Re: Cron Scheduled pages are blank
Post by: hoop on 2015-09-23, 19:27:54
I add
Code: [Select]
'/usr/local/lxlabs/kloxo/etc/flag/enablecronforall.flg' to enable Cron for all clients
what should I add into this file :)
Title: Re: Cron Scheduled pages are blank
Post by: MRatWork on 2015-09-23, 19:53:56
I add
Code: [Select]
'/usr/local/lxlabs/kloxo/etc/flag/enablecronforall.flg' to enable Cron for all clients
what should I add into this file :)
No need content.
Title: Re: Cron Scheduled pages are blank
Post by: hoop on 2015-09-23, 21:37:49
I add this  Command 

Code: [Select]
/usr/bin/curl --silent http://www.adco.xyz/cron.php> /dev/null         15   0   *   *   *
It is give an error Invalid Access To Cron! http://www.adco.xyz/cron.php

is there any issue on this Command 
Title: Re: Cron Scheduled pages are blank
Post by: MRatWork on 2015-09-24, 04:03:29
I add this  Command 

Code: [Select]
/usr/bin/curl --silent http://www.adco.xyz/cron.php> /dev/null         15   0   *   *   *
It is give an error Invalid Access To Cron! http://www.adco.xyz/cron.php

is there any issue on this Command 
Better create bash with content of '/usr/bin/curl --silent http://www.adco.xyz/cron.php> /dev/null' and then cron this bash file.