2020年10月1日 星期四

do

 https://confluence.atlassian.com/confkb/how-to-list-which-spaces-a-group-can-access-720636535.html


If my understanding is correct, one way to do is to create a shell script, this is when Confluence is running as service:

cat confluence_auto_start.sh
#!/bin/bash

# stop Confluence
sudo /etc/init.d/confluence stop

# wait for 5 minutes
sleep 5m

# start Confluence
sudo /etc/init.d/confluence start

Now, execute this shell script in the background using nohup as shown below. This will keep executing the script even after you logout from your session. You'll need system administrator permissions in order to edit and manually run jobs and start/stop CConfluence using the Confluence user.

 Please keep note that support for cronjobs/scheduling tasks falls outside the scope of our Support Offerings, so our exposure to it is limited and we suggest you try them in your test environment first.

Please let us know if you have any questions. 

沒有留言:

張貼留言