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

A few questions about the API?

Scheduled Pinned Locked Moved
General
2
2
219
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.
  • 0
    0juke
    last edited by Sep 23, 2019, 11:13 AM

    Hi all,

    So I have a question about the API. I want to create a simplified web front end using the API for our software testers to use so they can create, delete scheduled tasks without worrying about learning the syntax of cron, viewing said scheduled tasks, view active tasks and when a system is added to the host list that host will be added to the web page.
    Would this be possible?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 23, 2019, 11:49 AM

      Well, The cron syntax wouldn’t “disappear” unless your web front end translates the date/schedule to a Cron style system automatically.

      Yes the idea should be possible, though I don’t know how best to help except to help provide basic syntax of the API so you can process and parse the data that’s returned.

      I guess, though, I don’t fully understand the why. Everything (with exception of the scheduled cron tasks) is already available via the GUI we provide as a part of our software. “viewing said Scheduled tasks, view active tasks, and when a system is added to the host list that host will be added to the web page” are already done with the provided interface. Why create a new hen-house when the one you got with the land is also a hen house that does everything you need it to do.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

      234

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project