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, 22:09:58

Author Topic: [CRITICAL] Editing advanced cron reset all values to 0  (Read 14970 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Does not help - instead of my minute 37 it shows 0 in minute.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Add will be execute postAdd() and update will be execute postUpdate().
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Both postAdd() and postUpdate() have $this->write(); disabled and nothing.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Comparing content of cronlib.php between Kloxo-MR 7.0.0.b-2015041302 and latest update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
I didn't found this issue in latest update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Adding/removing works fine. Editing does not !

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Please check my cronlib.php

http://tnij.org/uv6mtnx
« Last Edit: 2015-06-09, 22:27:57 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Still the same, for some customers even when adding:

21:37 Jun/09/2015: 1: "/home/tmp/lxtmp__var_spool_cron_rochstar79lFpKba":4: bad hourerrors in crontab file, can't install. [(__system__) 'crontab'  '-u' 'rochstar79' '/home/tmp/lxtmp__var_spool_cron_rochstar79lFpKba']
21:37 Jun/09/2015: 1: "/home/tmp/lxtmp__var_spool_cron_rochstar794tzkyz":4: bad hourerrors in crontab file, can't install. [(__system__) 'crontab'  '-u' 'rochstar79' '/home/tmp/lxtmp__var_spool_cron_rochstar794tzkyz']
21:37 Jun/09/2015: 1: "/home/tmp/lxtmp__var_spool_cron_rochstar796xgCZY":4: bad hourerrors in crontab file, can't install. [(__system__) 'crontab'  '-u' 'rochstar79' '/home/tmp/lxtmp__var_spool_cron_rochstar796xgCZY']
21:38 Jun/09/2015: 1: "/home/tmp/lxtmp__var_spool_cron_rochstar79GVofwo":4: bad hourerrors in crontab file, can't install. [(__system__) 'crontab'  '-u' 'rochstar79' '/home/tmp/lxtmp__var_spool_cron_rochstar79GVofwo']
21:39 Jun/09/2015: 1: "/home/tmp/lxtmp__var_spool_cron_rochstar79W6ozqI":4: bad hourerrors in crontab file, can't install. [(__system__) 'crontab'  '-u' 'rochstar79' '/home/tmp/lxtmp__var_spool_cron_rochstar79W6ozqI']
« Last Edit: 2015-06-09, 22:42:02 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
$this->write(); for PostAdd is a must

Now testing PostUpdate is different place.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Adding/removing works.

When trying to edit all minutes/hours which were selected are changed to 0 and nothing is changed.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Just tested my old Kloxo-MR 7.0.0.b-2015041302 - it also has troubles with editing cron jobs.

I'm testing even older one.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Very old version Kloxo-MR 7.0.0.b-2015011402 also the same - 0's when editing cron jobs instead of proper minutes.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Even Kloxo-MR 7.0.0.b-2014120802 has it too ;(

22:57 Jun/09/2015: 1: "/tmp/lxtmp__var_spool_cron_admin2QDLMY":2: bad hourerrors in crontab file, can't install. [(__system__) 'crontab'  '-u' 'admin' '/tmp/lxtmp__var_spool_cron_admin2QDLMY']

Error Box - Press Esc to close
×
Alert: Adding crontab has failed due to . Please delete this cron and add it again.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Kloxo-MR 7.0.0.b-2014082703 the same - this is the first 7.0.0 beta version I got.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Kloxo-MR 6.5.1.b-2014063001 -  the same - wow this bug is so old !
« Last Edit: 2015-06-10, 00:24:10 by Spacedust »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.067 seconds with 21 queries.

web stats analysis