Hey all,
I am trying to create a scheduled job to perform an action that is using the following command
import com.atlassian.confluence.setup.settings.SettingsManager;
...
String baseUrl = settingsManager.getGlobalSettings().getBaseUrl();
...
When running this as a service it wont run, i believe due to Scheduled job not running as an authenticated user. What can i do to solve this?
Thanks!