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

Scheduled tasks not working for groups

Scheduled Pinned Locked Moved
FOG Problems
1
2
1.8k
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.
  • P
    Porch
    last edited by Jan 31, 2013, 6:57 AM

    I am trying to use FOG to redeploy to a group of computers nightly. I am having issues with the schedule task for a group. It says the task has been scheduled, but when I go back and view all the task, it does not show anything. Not even a tool bar on the right. Viewing the source shows this.

    [code]
    <li><a href=“[URL=‘http://fogproject.org/forum/view-source:http://localhost/fog/management/index.php?node=logout’]?node=logout[/URL]” title=“Logout”><img src=“[URL=‘http://fogproject.org/forum/view-source:http://localhost/fog/management/images/icon-logout.png’]images/icon-logout.png[/URL]” /></a></li></ul></div></div><!-- Content --><div id=“content”><h1>Task Management</h1><div id=“content-inner”><h2>All Scheduled Tasks</h2>

    [/code]

    Apache errors show this.

    [code]

    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: confirm in /var/www/fog/management/includes/tasks.include.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: noconfirm in /var/www/fog/management/includes/tasks.include.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: rmid in /var/www/fog/management/includes/tasks.sched.include.php on line 24, referer: http://localhost/fog/management/index.php?node=tasks
    [Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined method Group::addMember() in /var/www/fog/management/lib/FOGCore.class.php on line 210, referer: http://localhost/fog/management/index.php?node=tasks
    [/code]

    I have to clear out all the scheduled task out of the mysql database before the page loads properly. But the problem is back once I try to do a group schedule (cron or any other way). It works fine on a single host.

    Any idea?
    Thanks

    1 Reply Last reply Reply Quote 0
    • P
      Porch
      last edited by Feb 5, 2013, 3:03 AM

      I seem to be having an issue with some of the lab Acers getting stuck in state where they will not answer to a WOL packet. So setting the scheduled task is not going to work.

      Anyway I can start a UDPcast from the command line? I would like the teacher to click on an icon and then make sure all the computers are working before leaving at the end of day. I don’t really want them into the web interface tho.

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

      217

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project