structr.conf

Search
Feedback

The structr.conf is the main configuration file for Structr. The file consists of simple key-value mappings. Comments can be expressed using the # character, and blank lines are used to create a visual distinction between the individual sections.

Configuration options

Key Value type Description Default value
access.control.max.age integer (seconds) Cross origin resource sharing configuration. See CORS for more information.
access.control.allow.methods string, list of HTTP verbs Cross origin resource sharing configuration. See CORS for more information.
access.control.allow.headers string, list of HTTP headers Cross origin resource sharing configuration. See CORS for more information.
access.control.allow.credentials boolean Cross origin resource sharing configuration. See CORS for more information.
access.control.expose.headers string, list of HTTP headers Cross origin resource sharing configuration. See CORS for more information.
application.cache.node.size integer Size of the application node cache 100,000
application.cache.rel.size integer Size of the application relationship cache 100,000
application.cache.uuid.size integer Size of the application UUID cache 100,000
application.filesystem.enabled boolean If enabled, Structr will create a separate home directory for each user. See Filesystem for more information. false
application.filesystem.indexing.limit integer Maximum number of words to be indexed 50,000
application.filesystem.indexing.word.minlength integer Minimum length of words to be indexed 4
application.filesystem.indexing.word.maxlength integer Maximum length of words to be indexed 40
application.filesystem.unique.paths boolean If enabled, Structr will not allow files of the same name in the same folder. Default value is ‘true’. true
application.ftp.port integer FTP port the Structr server will listen on (if FtpService is enabled below)
application.changelog.enabled boolean If enabled, Structr keeps track of changes to individual entities in the structrChangeLog property. See Changelog for more information.
application.host IP address or host name The listen address of the Structr server, source of the ${host} keyword in Template Expressions
application.http.port integer HTTP port the Structr server will listen on
application.https.enabled boolean Whether SSL is enabled
application.https.port integer HTTPS port the Structr server will listen on (if HTTPS is enabled below)
application.instance.name string The name of the Structr instance (displayed in the top right corner of structr-ui)
application.instance.stage string The stage of the Structr instance (displayed in the top right corner of structr-ui)
application.keystore.path string The path to the JKS keystore containing the SSL certificate. See SSL Configuration for more information.
application.keystore.password string The keystore password
application.rest.path URL path segment Defines the URL path of the Structr REST server. Should not be changed because it is hard-coded in many parts of the application.
application.security.ownerless.nodes one or more of [read, write, delete, accessControl] The permission level for users on nodes without an owner.
application.session.timeout integer The session timeout for HTTP sessions
application.ssh.port integer SSH port the Structr server will listen on (if SSHService is enabled below)
application.title arbitrary string The title of the application as shown in the log file. This entry exists for historical reasons and has no functional impact.
application.uploads.folder string The default path for files uploaded via the UploadServlet (available from Structr 2.1+)
base.path Absolute or relative path Path of the Structr working directory. All files will be located relative to this directory.
configuration.provider Fully-qualified Java class name Fully-qualified class name of a Java class in the current class path that implements theorg.structr.schema.ConfigurationProvider interface.
configured.services List of service classes Services that are listed in this configuration key will be started when Structr starts.
CsvServlet.authenticator Fully-qualified Java class name Authenticator class to use for CSV output. Do not change unless you know what you are doing.
CsvServlet.class Fully-qualified Java class name Servlet class to use for CSV output. Do not change unless you know what you are doing.
CsvServlet.defaultview string Default view to use when no view is given in the URL
CsvServlet.outputdepth integer Maximum nesting depth of JSON output
CsvServlet.path string URL pattern for CSV output. Do not change unless you know what you are doing.
CsvServlet.resourceprovider Fully-qualified Java class name Resource provider class to use in the REST server. Do not change unless you know what you are doing.
CsvServlet.user.autocreate boolean Unused
DateProperty.defaultFormat Date pattern Default ISO8601 date format pattern, uncomment to enable full ISO8601 compliant date handling.
database.cache.node.size integer Size of the database driver node cache
database.cache.relationship.size integer Size of the database driver relationship cache
database.path Absolute or relative path Path of the Neo4j db/ directory
files.path Absolute or relative path Path to the Structr file storage
geocoding.provider Fully-qualified Java class name Geocoding configuration. See Geocoding for more information.
geocoding.language ISO language code Geocoding configuration. See Geocoding for more information.
geocoding.apikey string Geocoding configuration. See Geocoding for more information.
HtmlServlet.authenticator Fully-qualified Java class name Authenticator class to use for HTTP requests. Do not change unless you know what you are doing.
HtmlServlet.class Fully-qualified Java class name Servlet class to use for HTTP requests. Do not change unless you know what you are doing.
HtmlServlet.defaultview string Default view to use when no view is given in the URL. Not used
HtmlServlet.outputdepth integer Maximum nesting depth of JSON output
HtmlServlet.path string URL pattern for HTTP server. Do not change unless you know what you are doing.
HtmlServlet.resourceprovider Fully-qualified Java class name Resource provider class to use in the HTTP server. Do not change unless you know what you are doing.
HtmlServlet.user.autocreate boolean Enable this to support user self registration
HtmlServlet.resolveProperties list of property names Specifies the list of properties that are be used to resolve entities from URL paths. See URL Entity Resolution for more information.
HtmlServlet.customResponseHeaders string List of custom response headers that will be added to every HTTP response
html.indentation boolean Whether the page source should be indented (compacted) or beautified
HttpService.async boolean Whether the HttpServices uses asynchronous request handling. Disable this option if you encounter problems with HTTP responses.
HttpService.servlets List of available servlets Servlets that are listed in this configuration key will be available in the HttpService.
HttpService.resourceHandlers string This handler is needed to serve static files with the built-in Jetty container.
JsonRestServlet.authenticator Fully-qualified Java class name Authenticator class to use in the REST server. Do not change unless you know what you are doing.
JsonRestServlet.class Fully-qualified Java class name Servlet class to use in the REST server. Do not change unless you know what you are doing.
JsonRestServlet.defaultview string Default view to use when no view is given in the URL
JsonRestServlet.outputdepth integer Maximum nesting depth of JSON output
JsonRestServlet.path string URL pattern for REST server. Do not change unless you know what you are doing.
JsonRestServlet.resourceprovider Fully-qualified Java class name Resource provider class to use in the REST server. Do not change unless you know what you are doing.
JsonRestServlet.user.autocreate boolean Unused
json.indentation boolean Whether JSON output should be indented (compacted) or beautified
json.lenient boolean Whether to use lenient serialization, e.g. allow to serialize NaN, -Infinity, Infinity instead of just returning null. Note: as long as Javascript doesn’t support NaN etc., most of the UI will be broken
log.requests boolean Whether to log every HTTP request to and from Structr.
log.name string, with date pattern File name pattern for the logging output
neo4j.server.host IP address or host name Listen address of the Neo4j Browser (if Neo4jService is enabled below)
neo4j.server.post integer Neo4j Browser port
neo4j.shell.enabled boolean Whether the Neo4j shell is enabled
neo4j.shell.port integer Port of the Neo4j shell
NodeExtender.log boolean Whether to write dynamically created Java code to the logfile, for debugging purposes.
oauth.servers string, list of OAuth providers OAuth configuration. See OAuth for more information.
oauth.github.authorization_location string, URL OAuth configuration. See OAuth for moreinformation.
oauth.github.token_location string, URL information.
oauth.github.client_id string OAuth configuration. See OAuth for moreinformation.
oauth.github.client_secret string OAuth configuration. See OAuth for moreinformation.
oauth.github.redirect_uri string OAuth configuration. See OAuth for more information.
oauth.github.user_details_resource_uri string, URL OAuth configuration. See OAuth for more information.
oauth.github.error_uri string, URL OAuth configuration. See OAuth for more information.
oauth.github.return_uri string, URL OAuth configuration. See OAuth for more information.
oauth.twitter.authorization_location string, URL OAuth configuration. See OAuth for more information.
oauth.twitter.token_location string, URL OAuth configuration. See OAuth for more information.
oauth.twitter.client_id string OAuth configuration. See OAuth for more information.
oauth.twitter.client_secret string OAuth configuration. See OAuth for more information.
oauth.twitter.redirect_uri string OAuth configuration. See OAuth for more information.
oauth.twitter.error_uri string, URL OAuth configuration. See OAuth for more information.
oauth.twitter.return_uri string, URL OAuth configuration. See OAuth for more information.
oauth.linkedin.authorization_location string, URL OAuth configuration. See OAuth for more information.
oauth.linkedin.token_location string, URL OAuth configuration. See OAuth for more information.
oauth.linkedin.client_id string OAuth configuration. See OAuth for more information.
oauth.linkedin.client_secret string OAuth configuration. See OAuth for more information.
oauth.linkedin.redirect_uri string OAuth configuration. See OAuth for more information.
oauth.linkedin.user_details_resource_uri string, URL OAuth configuration. See OAuth for more information.
oauth.linkedin.error_uri string, URL OAuth configuration. See OAuth for more information.
oauth.linkedin.return_uri string, URL OAuth configuration. See OAuth for more information.
oauth.google.authorization_location string, URL OAuth configuration. See OAuth for more information.
oauth.google.token_location string, URL OAuth configuration. See OAuth for more information.
oauth.google.client_id string OAuth configuration. See OAuth for more information.
oauth.google.client_secret string OAuth configuration. See OAuth for more information.
oauth.google.redirect_uri string OAuth configuration. See OAuth for more information.
oauth.google.user_details_resource_uri string, URL OAuth configuration. See OAuth for more information.
oauth.google.error_uri string, URL OAuth configuration. See OAuth for more information.
oauth.google.return_uri string, URL OAuth configuration. See OAuth for more information.
oauth.facebook.authorization_location string, URL OAuth configuration. See OAuth for more information.
oauth.facebook.token_location string, URL OAuth configuration. See OAuth for more information.
oauth.facebook.client_id string OAuth configuration. See OAuth for more information.
oauth.facebook.client_secret string OAuth configuration. See OAuth for more information.
oauth.facebook.redirect_uri string OAuth configuration. See OAuth for more information.
oauth.facebook.user_details_resource_uri string, URL OAuth configuration. See OAuth for more information.
oauth.facebook.error_uri string, URL OAuth configuration. See OAuth for more information.
oauth.facebook.return_uri string, URL OAuth configuration. See OAuth for more information.
Registration.customUserAttributes string User self-registration configuration. See Self Registration for more information.
Registration.allowLoginBeforeConfirmation boolean information.
Registration.customUserClass Structr type information.
smtp.host IP address or host name Address of the SMTP server used to send e-mails, see E-Mail Configuration for more information.
smtp.port integer SMTP server port to use when sending e-mails
smtp.tls.enabled boolean Whether to use TLS when sending e-mails
smtp.tls.required boolean Whether TLS is required when sending e-mails
StructrUiHandler.contextPath string Static resource handling configuration. See Static Resources for more information.
StructrUiHandler.directoriesListed boolean
StructrUiHandler.resourceBase string
StructrUiHandler.welcomeFiles string
superuser.username arbitrary string Name of the superuser
superuser.password arbitrary string Password of the superuser (or empty to create a random password at runtime)
tcp.port integer CloudService port, see Cloud Service for more information.
tmp.path Absolute or relative path Path to the temporary directory
UploadServlet.authenticator Fully-qualified Java class name Authenticator class to use for file upload. Do not change unless you know what you are doing.
UploadServlet.class Fully-qualified Java class name Servlet class to use for file upload. Do not change unless you know what you are doing.
UploadServlet.defaultview string Default view to use when no view is given in the URL
UploadServlet.outputdepth integer Maximum nesting depth of JSON output
UploadServlet.path string URL pattern for file upload. Do not change unless you know what you are doing.
UploadServlet.resourceprovider Fully-qualified Java class name Resource provider class to use for file upload. Do not change unless you know what you are doing.
UploadServlet.user.autocreate boolean Unused
UploadServlet.allowAnonymousUploads boolean
UploadServlet.maxFileSize integer (megabytes) Maximum allowed file size for single file uploads.
UploadServlet.maxRequestSize integer (megabytes) Maximum allowed request size for single file uploads.
udp.port integer Unused, was previously used for CloudService over UDP.
ws.indentation boolean Prettyprints websocket responses if set to true
WebSocketServlet.authenticator Fully-qualified Java class name Authenticator class to use for WebSockets. Do not change unless you know what you are doing.
WebSocketServlet.class Fully-qualified Java class name Servlet class to use for WebSockets. Do not change unless you know what you are doing.
WebSocketServlet.defaultview string Default view to use when no view is given in the URL. Not used
WebSocketServlet.outputdepth integer Maximum nesting depth of JSON output
WebSocketServlet.path string URL pattern for WebSockets. Do not change unless you know what you are doing.
WebSocketServlet.resourceprovider Fully-qualified Java class name Resource provider class to use with WebSockets. Do not change unless you know what you are doing.
WebSocketServlet.user.autocreate boolean Unused
WebSocketServlet.frontendAccess boolean
CronService.tasks List with cron task configurations CronService configuration

structr.conf_templ

#############################################################################
# General application-wide settings
#############################################################################

# The title shown at start-up
application.title = Structr UI

# Listener address. Set this to the real ip address or localhost to restrict access,
# or to 0.0.0.0 to make this instance accessible over all ip addresses and hostnames
application.host = 0.0.0.0

# Listener port for HTTP access REST and web service
application.http.port = 8082

# URL base path of REST server
application.rest.path = /structr/rest

# Listener port of built-in FTP server
application.ftp.port = 8021

# Listener port of built-in SSH server
application.ssh.port = 8022

# HTTPS settings
# run this command to create a selfsigned certificate:
# 'keytool -genkey -keyalg RSA -alias selfsigned -keystore [KEYSTORE_FILE] -storepass [KEYSTORE_PASSWORD] -validity 360 -keysize 2048'

# application.https.enabled = true
# application.https.port = 8083
# application.keystore.path = [KEYSTORE_FILE]
# application.keystore.password = [KEYSTORE_PASSWORD]

# Session timeout (default 30 minutes = 1800 seconds)
application.session.timeout = 1800

# Access rights to ownerless nodes (nodes without owner)
# Any combination of read, write, delete, accessControl is possible,
# default is read only
#application.security.ownerless.nodes = read

# Neo4j server settings
########################################################
#                                                      #
#             !!!!!!!!! WARNING !!!!!!!!!              #
#                                                      #
# Don't expose this port to an untrusted network, as   #
# unauthorized users can access the database directly, #
# bypassing Structr's security measures.               #
#                                                      #
########################################################
neo4j.server.host = 0.0.0.0
neo4j.server.port = 7474

# Paths
base.path = .
database.path = ./db
files.path = ./files
log.database.path = ./logDb.dat
tmp.path = /tmp

# Configuration class providing custom schema classes
configuration.provider = org.structr.module.JarConfigurationProvider

# Configure services to automatically run at start-up
configured.services = NodeService AgentService CronService SchemaService LogService HttpService FtpService CloudService Neo4jService SSHService

# Support migration from 0.8.x and earlier versions
#NodeService.migration = true

# Superuser username and password
# You have to set a superuser username and password in order to use
# administration and maintenance tools
# IMPORTANT: this is *not* used as the main login credentials
superuser.username = superadmin
superuser.password = 

# Indent JSON
json.indentation = true

# Use lenient serialization, e.g. allow to serialize NaN, -Infinity, Infinity instead of just returning null
# Please note: As long as Javascript doesn't support NaN etc., most of the UI will be broken
#json.lenient = true

# Neo4j shell
neo4j.shell.enabled = true
neo4j.shell.port = 1337

# E-Mail settings: Set host and port of an MTA Structr will use to send e-mails
smtp.host = localhost
smtp.port = 25
smtp.tls.enabled = true
smtp.tls.required = false

# Ports for low-level binary protocols
tcp.port = 54555
#udp.port = 57555

# Default date format (SimpleDateFormat pattern), uncomment to enable full ISO8601 compliant date handling
#DateProperty.defaultFormat = yyyy-MM-dd'T'HH:mm:ss.SSSXXX

#############################################################################
# Servlets
#############################################################################

# Available servlets
HttpService.servlets = JsonRestServlet HtmlServlet WebSocketServlet CsvServlet UploadServlet

# Uncomment this if you encounter problems with async HTTP requests
#HttpService.async = false

# JSON/REST servlet
JsonRestServlet.authenticator = org.structr.web.auth.UiAuthenticator
JsonRestServlet.class = org.structr.rest.servlet.JsonRestServlet
JsonRestServlet.defaultview = public
JsonRestServlet.outputdepth = 3
JsonRestServlet.path = /structr/rest/*
JsonRestServlet.resourceprovider = org.structr.web.common.UiResourceProvider
JsonRestServlet.user.autocreate = true

# HTML servlet
HtmlServlet.authenticator = org.structr.web.auth.UiAuthenticator
HtmlServlet.class = org.structr.web.servlet.HtmlServlet
HtmlServlet.defaultview = public
HtmlServlet.outputdepth = 3
HtmlServlet.path = /structr/html/*
HtmlServlet.resourceprovider = org.structr.web.common.UiResourceProvider
HtmlServlet.user.autocreate = true
HtmlServlet.resolveProperties = AbstractNode.name

# Websocket servlet
WebSocketServlet.authenticator = org.structr.web.auth.UiAuthenticator
WebSocketServlet.class = org.structr.websocket.servlet.WebSocketServlet
WebSocketServlet.defaultview = public
WebSocketServlet.path = /structr/ws/*
WebSocketServlet.resourceprovider = org.structr.web.common.UiResourceProvider
WebSocketServlet.user.autocreate = false

# Uncomment this if you want to use WebSocket functionality for frontend users
# WebSocketServlet.frontendAccess = true

# CSV servlet
CsvServlet.authenticator = org.structr.web.auth.UiAuthenticator
CsvServlet.class = org.structr.rest.servlet.CsvServlet
CsvServlet.defaultview = public
CsvServlet.outputdepth = 3
CsvServlet.path = /structr/csv/*
CsvServlet.resourceprovider = org.structr.web.common.UiResourceProvider
CsvServlet.user.autocreate = false

# Upload servlet
UploadServlet.authenticator = org.structr.web.auth.UiAuthenticator
UploadServlet.class = org.structr.web.servlet.UploadServlet
UploadServlet.defaultview = public
UploadServlet.outputdepth = 3
UploadServlet.path = /structr/upload
UploadServlet.resourceprovider = org.structr.web.common.UiResourceProvider
UploadServlet.user.autocreate = false
UploadServlet.allowAnonymousUploads = false

# Upload servlet limits (unit is MiB)
UploadServlet.maxFileSize = 1000
UploadServlet.maxRequestSize = 1200

#############################################################################
# Custom response headers
#############################################################################
#
# Add your custom response headers here 
HtmlServlet.customResponseHeaders = Strict-Transport-Security:max-age\=60,\
X-Content-Type-Options:nosniff,\
X-Frame-Options:SAMEORIGIN,\
X-XSS-Protection:1;mode=block


#############################################################################
# Registration configuration
#############################################################################
# This section configures Structr's built-in opt-in registration for new users.
# Note that the eMail attribute is mandatory and necessary to send out e-mails.

# Use this to define custom properties to be set on the newly created user when
# included in the POST request. Works only together with HtmlServlet.user.autocreate = true.
# Note that eMail will always be included, so removing it here has no effect.
#
#                         !!!!!!!!! WARNING !!!!!!!!!
#
# It's a bad idea to include security-relevant attributes here
# as they can be set from an unauthenticated, unauthorized source.
# If unsure or you don't know what that means, set only eMail
Registration.customUserAttributes = eMail

# Set to true to allow users to login even before the opt-in confirmation
# was received, typically when the password was set on the registration POST request
#Registration.allowLoginBeforeConfirmation = false

# Use this class to create new user entities upon registration (supports dynamic types).
#Registration.customUserClass = User

#############################################################################
# Resource handler for static resources
#############################################################################
# This handler is needed to serve static files with the built-in Jetty container.
# It is used by Structr's default UI and should not be changed
# Example:
#
#     contextPath  = /pages
#     resourceBase = foo/bar
#
#     foo/bar/test.html => http://<hostname>:<port>/pages/test.html
#
# Available resource handlers
#

HttpService.resourceHandlers = StructrUiHandler
StructrUiHandler.contextPath = /structr
StructrUiHandler.directoriesListed = false
StructrUiHandler.resourceBase = src/main/resources/structr
StructrUiHandler.welcomeFiles = index.html


#############################################################################
# Cross Origin Resource Sharing configuration
#############################################################################
# This section configures the HTTP headers sent by Structr to control cross
# origin resource sharing, see http://www.w3.org/TR/cors.
#

#access.control.max.age = 3600
#access.control.allow.methods = GET,OPTIONS
#access.control.allow.headers = Content-Type,Accept,Content-Encoding,Location
#access.control.allow.credentials = false
#access.control.expose.headers = Location


#############################################################################
# Logging
#############################################################################
#
# Set to true to enable full request logging including request body
log.requests = false
log.name = structr-yyyy_mm_dd.request.log

# Log code generated for custom schema
#NodeExtender.log = true


#############################################################################
#        OAuth configuration        
#############################################################################
#
# Structr supports OAuth2 and OAuth1A (Twitter) authentication.
#
#
# In order to make external authentication work over OAuth,
# you need to configure the services you want to use.
#
# Please check the URLs and enter the credentials provided
# by the respective authentication service provider.
#
#
# OAuth servers

oauth.servers = github twitter linkedin google facebook

# See https://developer.github.com/v3/oauth/
oauth.github.authorization_location = https://github.com/login/oauth/authorize
oauth.github.token_location = https://github.com/login/oauth/access_token
oauth.github.client_id = 
oauth.github.client_secret = 
oauth.github.redirect_uri = /oauth/github/auth
oauth.github.user_details_resource_uri = https://api.github.com/user/emails
oauth.github.error_uri = /login
oauth.github.return_uri = /

# See https://dev.twitter.com/docs/auth/oauth
oauth.twitter.authorization_location = https://api.twitter.com/oauth/authorize
oauth.twitter.token_location = https://api.twitter.com/oauth/access_token
oauth.twitter.client_id = 
oauth.twitter.client_secret = 
oauth.twitter.redirect_uri = /oauth/twitter/auth
oauth.twitter.error_uri = /login
oauth.twitter.return_uri = /

# See https://developer.linkedin.com/documents/authentication
oauth.linkedin.authorization_location = https://www.linkedin.com/uas/oauth2/authorization
oauth.linkedin.token_location = https://www.linkedin.com/uas/oauth2/accessToken
oauth.linkedin.client_id = 
oauth.linkedin.client_secret = 
oauth.linkedin.redirect_uri = /oauth/linkedin/auth
oauth.linkedin.user_details_resource_uri = https://api.linkedin.com/v1/people/~/email-address?secure-urls=true
oauth.linkedin.error_uri = /login
oauth.linkedin.return_uri = /

# See https://developers.google.com/identity/protocols/OAuth2
oauth.google.authorization_location = https://accounts.google.com/o/oauth2/auth
oauth.google.token_location = https://accounts.google.com/o/oauth2/token
oauth.google.client_id = 
oauth.google.client_secret = 
oauth.google.redirect_uri = /oauth/google/auth
oauth.google.user_details_resource_uri = https://www.googleapis.com/oauth2/v3/userinfo
oauth.google.error_uri = /login
oauth.google.return_uri = /

# See: https://developers.facebook.com/docs/facebook-login/
oauth.facebook.authorization_location = https://www.facebook.com/dialog/oauth
oauth.facebook.token_location = https://graph.facebook.com/oauth/access_token
oauth.facebook.client_id = 
oauth.facebook.client_secret = 
oauth.facebook.redirect_uri = /oauth/facebook/auth
oauth.facebook.user_details_resource_uri = https://graph.facebook.com/me?fields=id,name,email
oauth.facebook.error_uri = /login
oauth.facebook.return_uri = /


#############################################################################
#        Geocoding configuration        
#############################################################################
#
# Structr supports geocoding via Bing and Google
#
#
# You just need to configure the desired geocoding provider, language and
# supply your API key (optional). Please note that some services have a
# rate limit for unauthenticated requests.
#
# Possible values for geocoding.provider are
# org.structr.common.geo.BingGeoCodingProvider
# org.structr.common.geo.GoogleGeoCodingProvider
#
# geocoding.language takes your country's language code
#
# geocoding.apikey takes your API key
# (leave commented out if not applicable)
#

#geocoding.provider=
#geocoding.language=
#geocoding.apikey=

#############################################################################
# Configuration for scheduled tasks (cron jobs)
#############################################################################
#
# The cron job configuration is a single line starting with "CronService.tasks = ", followed by
# a list of schema method names. Please note the the schema methods must not be attachted to
# a type, they must be "stand-alone" schema methods. After that, the cron expressions for the
# individual methods can be specified in a separate line in the following format:
#
# <full-qualified class name>.cronExpression = <seconds> <minutes> <hours> <days> <months> <days of week>
#
# Supported unit values are:
# x      at exact value of a unit (second, minute, hour etc.)
# *      every second, minute, ...
# */n    every nth value of a unit
# x-y    range from x to y

# Examples:
#
# Run every 30 minutes                                                      0   0,30  *   *    *    *
# Run every day at 4:00                                                     0    0    4   *    *    *
# Run each hour on Mondays during the first 10 days in April and October    0    0    *  1-10 4,10  1 

#CronService.tasks = method1 myMethod2 testMethod
#method1.cronExpression = 0 0 * * * *
#myMethod2.cronExpression = 0 0 * * * *
#testMEthod.cronExpression = 0 0 * * * *


# Enable/disable uniqueness constraint for files/folders
# application.filesystem.unique.paths = false

# The instance name and stage configuration entries will be displayed in the top right corner of structr-ui
# application.instance.name =
# application.instance.stage =

# The absolute path (inside the Structr filesystem) for files being uploaded via the Upload Servlet
# The folder (hierarchy) will be auto-created if it does not exist (as superuser)
# application.uploads.folder = /upload/

Graph-Browser

About this article
Last change 2017-03-20
Topics ServerStructr 2.0