This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dataListItem = search.findNode("workspace://SpacesStore/f4716370-bad6-451b-906a-d93b806f5d97"); | |
var targetNode = search.findNode("workspace://SpacesStore/831d3f4f-4c15-4b59-91b3-6de50ee8dfe8"); | |
dataListItem.createAssociation(targetNode, "lyse:document"); | |
dataListItem.save(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 4 * * * /path/to/alfresco/alfrescoBackup.sh /path/to/backup/folder | |
30 13 * * * /home/username/run-me.sh >/dev/null 2>&1 | |
0 * * * * curl --silent --compressed http://example.com/cron.php >/dev/null 2>&1 | |
crontab filename Install filename as your crontab file, | |
crontab -e Edit your crontab file, or create one if it doesn’t already exist. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cold backup of Alfresco. | |
# | |
# Configuration. | |
ALF_HOME="/path/to/alfresco" | |
NUM_DUMP=10 | |
ALF_DATA_SUBDIR="alf_data" | |
DB_TYPE="postgresql" | |
DBNAME="alfresco" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar DevNullSmtp.jar | |
# It is a dummy SMTP server that can be used for testing purposes. | |
# It helps you see all communication between a client and the server and is very useful if you are trying to find problems with your email server or a client that you wrote. | |
http://www.aboutmyip.com/AboutMyXApp/DevNullSmtp.jsp | |
java -jar dumbster.jar 7777 | |
# SMTP fake server for QA, running on port 7777) | |
# https://github.com/rjo1970/dumbster.git |
NewerOlder