Run sheduled deployment
-
When the deployment is run as a scheduled task, the log writes:
2024.10.08 17:45:00.732 *D* [packages ] CreatePackageDeploymentTask: invalid package id 0
2024.10.08 17:45:00.732 *D* [packages ] ExecuteScheduledPackageDeployment: cannot create deployment task for package
[o](RCC = 36)
If I run the deployment manually, everything goes correctly and the package is installed. I tried both the package name as a parameter and its index. -
Task handler Agent.DeployPackage expects parameter string as set of key=value entries separated by semicolons. Currently only one key is supported - "package". So if you have package with ID 123 then setting task parameter to
package=123should do the trick.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login