• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. devle
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    devle

    @devle

    1
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    devle Unfollow Follow

    Best posts made by devle

    • Schedule Multicast Tasks Issues

      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.

      posted in FOG Problems
      D
      devle

    Latest posts made by devle

    • RE: Schedule Multicast Tasks Issues

      @Tom-Elliott Hi Tom, thanks for your reply.

      I restarted the FogScheduler. Half an hour has past since I created 1 tasks via API and 1 through Fog Web. They stayed in the Scheduled Tasks and did not get executed.

      scheduled_multicast.png

      posted in FOG Problems
      D
      devle
    • RE: Schedule Multicast Tasks Issues

      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 |
      ±--------------------+

      posted in FOG Problems
      D
      devle
    • Schedule Multicast Tasks Issues

      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.

      posted in FOG Problems
      D
      devle