RC 1.5.0 -RC9 Schduled tasks view doesn't show the scheduled group tasks


  • Developer

    I want to schedule a group task but this one doesnt appear in the Schduled Task view but in the database appears his registry.

    0_1506944778533_Screenshot-2017-10-2 http fog6 lgp ehu es(3).png 0_1506944789628_DB_SchduledTasks_2.png


  • Developer

    Hi Tom,

    It seems that works fine, shows all tasks and the daemon doesn’t show anormal behavour.

    0_1508415265464_Screenshot-2017-10-19 http fog6 lgp ehu es.png


  • Senior Developer

    Should be fixed in latest working, thanks for reporting.


  • Senior Developer

    Just bumping so I don’t lose this thread anywhere.


  • Senior Developer

    @fernando-gietz I wouldn’t expect a php error, but it would seem the names of the task are the same, and it’s auto grouping possibly. I’ll see what i can do later on.


  • Developer

    One thing more, the httpd and FOGTaskScheduler are at 100%

    0_1506955955491_atop_screenshot.png


  • Developer

    Hi Tom,

    I have upgraded the server version to the last one in working branch (running version 57), erased the group scheduled task, reboot the server and create a new group scheduled task.

    select * from scheduledTasks\G
    *************************** 1. row ***************************
             stID: 82
           stName: Hardware Inventory Task
           stDesc: 
           stType: C
     stTaskTypeID: 10
         stMinute: 30
           stHour: 14
            stDOM: *
          stMonth: *
            stDOW: *
        stIsGroup: 
    stGroupHostID: 7036
        stImageID: 0
       stShutDown: 
         stOther1: 
         stOther2: -1
         stOther3: bczgiflf
         stOther4: 1
         stOther5: 
       stDateTime: 0
         stActive: 1
    *************************** 2. row ***************************
             stID: 84
           stName: Hardware Inventory Task
           stDesc: 
           stType: C
     stTaskTypeID: 10
         stMinute: 17
           stHour: 16
            stDOM: 2
          stMonth: 10
            stDOW: 
        stIsGroup: 1
    stGroupHostID: 334
        stImageID: 0
       stShutDown: 
         stOther1: 
         stOther2: -1
         stOther3: bczgiflf
         stOther4: 1
         stOther5: 
       stDateTime: 0
         stActive: 1
    2 rows in set (0.00 sec)
    

    One thing more the FOGScheduler daemon in down, I scheduled the task at 16:14 and crash!!!

     date
    lun oct  2 16:27:01 CEST 2017
    [root@fog6 bczgiflf]# tail -f /opt/fog/log/fogscheduler.log 
    [10-02-17 4:11:28 pm]  * 1 task found.
    [10-02-17 4:11:28 pm]  * Task run time: Tue, 03 Oct 2017 14:30:28 +0200
    [10-02-17 4:12:28 pm]  * 1 task found.
    [10-02-17 4:12:28 pm]  * Task run time: Tue, 03 Oct 2017 14:30:28 +0200
    [10-02-17 4:13:28 pm]  * 1 task found.
    [10-02-17 4:13:28 pm]  * Task run time: Tue, 03 Oct 2017 14:30:28 +0200
    [10-02-17 4:14:28 pm]  * 1 task found.
    [10-02-17 4:14:28 pm]  * Task run time: Tue, 03 Oct 2017 14:30:28 +0200
    [10-02-17 4:15:28 pm]  * 2 tasks found.
    [10-02-17 4:15:28 pm]  * Task run time: Tue, 03 Oct 2017 14:30:28 +0200
    

    And not php error


  • Senior Developer

    Can you do an SQL of SELECT * FROM scheduledTasks\G rather than the ; at the end? It will make seeing the information a lot nicer.


Log in to reply
 

399
Online

39.4k
Users

11.1k
Topics

105.5k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.