I am trying to write a python script for Satellite's API that will schedule a remote command. The problem is that even though I schedule the command to run now Satellite schedules 2 hours later. Here is my code:
earliest_occurrence = xmlrpclib.DateTime()
client.system.scheduleScriptRun(key, id, "root", "root", 300, script, earliest_occurrence)
When I screen print the variable "earliest_occurrence" it returns the correct time but for some reason Satellite will schedule the command exactly 2 hours from that time (current time). Has anyone ran into this issue? (also I verified that the Satellite server has the right time as well)
Any help would be greatly appreciated. Thanks!