Remote execution of session-setup

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Christophe0110
Messages: 53
Registration: June 11, 2019 - 12:04

August 23, 2019 - 2:46 PM

Hello everyone,


Is there a way to run (from the console, for example) the session-setup for users remotely?
After installing certain packages, I'd like to avoid having to wait until the next day (when the user logs back in) to run the session-setup. Some programs shouldn't be run by the user until the session-setup for that package has been executed beforehand.

I was thinking of using a scheduled task that would run every x minutes to perform "wapt-get session-setup ALL", but I don't know if there's a better solution.

Regards,
Christophe.
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

August 26, 2019 - 10:19 PM

Christophe0110 wrote: August 23, 2019 - 2:46 PM I was thinking of using a scheduled task that would run every x minutes to perform the "wapt-get session-setup ALL" command, but I don't know if there's a better solution...
The feature is planned with a better level of control in a future version of WAPT Enterprise, if Enterprise is of interest to you and you can wait a little while.

The idea is very good in any case because we had also thought of it to cover use cases similar or identical to those you imagined.

Simon, can you confirm?

Sincerely.

Vincent
Vincent CARDON
Tranquil IT
Christophe0110
Messages: 53
Registration: June 11, 2019 - 12:04

August 27, 2019 - 11:02

Hello Vincent,

I'm already on the Enterprise version, so I just have to wait for this feature. :D

Thank you for your reply.

Christophe.
Locked