• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Schedule Multicast Tasks Issues

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 1 Posters 85 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      devle
      last edited by

      Hello,

      I am currently using the FOG REST API to develop a multicast solution for end users. Immediate multicast tasks are working as expected.

      However, I’m encountering an issue with scheduled tasks. When I create a scheduled multicast task, the task object is successfully registered. But once the scheduled time passes, the task does not execute and remains listed under Tasks → Scheduled Tasks.

      To rule out API-related issues, I also attempted to schedule a multicast task directly through the FOG Web UI, but experienced the same behavior.

      Additional details:

      Version: v1.6.0-beta.2277
      SCHEDULERGLOBALENABLED is enabled
      FogScheduler service is active

      Could you please advise what might be causing scheduled tasks not to execute, or suggest any additional checks or logs I should review?

      Thank you in advance for your help.

      D 1 Reply Last reply Reply Quote 1
      • D
        devle @devle
        last edited by

        Added some logs

        Fog Database:
        name@fog:/opt/fog/log$ sudo mariadb -e "
        USE fog;
        SELECT *
        FROM scheduledTasks\G
        "

        *************************** 1. row ***************************
        stID: 27
        stName: Multi-Cast Task
        stDesc:
        stType: S
        stTaskTypeID: 8
        stMinute:
        stHour:
        stDOM:
        stMonth:
        stDOW:
        stIsGroup: 1
        stGroupHostID: 41
        stImageID: 0
        stShutDown:
        stOther1:
        stOther2: -1
        stOther3: xy.xy
        stOther4: 1
        stOther5:
        stDateTime: 1773389439
        stActive: 1

        Crontask:

        *************************** 2. row ***************************
        stID: 28
        stName: Multi-Cast Task
        stDesc:
        stType: C
        stTaskTypeID: 8
        stMinute: 0
        stHour: *
        stDOM: *
        stMonth: *
        stDOW: *
        stIsGroup: 1
        stGroupHostID: 41
        stImageID: 0
        stShutDown:
        stOther1:
        stOther2: -1
        stOther3: xy.xy
        stOther4: 1
        stOther5:
        stDateTime: 0
        stActive: 1

        Fog Settings
        ±-----------------------±-----------------+
        | settingKey | settingValue |
        ±-----------------------±-----------------+
        | SCHEDULERDEVICEOUTPUT | /dev/tty4 |
        | SCHEDULERGLOBALENABLED | 1 |
        | SCHEDULERLOGFILENAME | fogscheduler.log |
        | SCHEDULERSLEEPTIME | 60 |
        ±-----------------------±-----------------+

        [03-06-26 12:26:18 pm] Interface Ready with IP Address: 127.0.0.1
        [03-06-26 12:26:18 pm] Interface Ready with IP Address: 127.0.1.1
        [03-06-26 12:26:18 pm] Interface Ready with IP Address: 172.28.1.80
        [03-06-26 12:26:18 pm] Interface Ready with IP Address: domain.name.xxx
        [03-06-26 12:26:18 pm] * Starting TaskScheduler Service
        [03-06-26 12:26:18 pm] * Checking for new items every 60 seconds
        [03-06-26 12:26:18 pm] * Starting service loop
        [03-06-26 12:26:18 pm] * 3 tasks found.
        [03-06-26 12:26:18 pm] * Checking for expired checked-in tasks…
        [03-06-26 12:26:18 pm] * Scheduled Task run time: Fri, 01 Jan 2027 00:00:00 +0200
        [03-06-26 12:26:18 pm] * This is a cron style task that should not run now.

        The time zone:
        name@fog:/opt/fog/log$ date
        Fri Mar 13 10:38:46 EET 2026
        name@fog:/opt/fog/log$ sudo mariadb -e “SELECT NOW();”
        ±--------------------+
        | NOW() |
        ±--------------------+
        | 2026-03-13 10:39:22 |
        ±--------------------+

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        137

        Online

        12.6k

        Users

        17.5k

        Topics

        156.4k

        Posts
        Copyright © 2012-2026 FOG Project