This file contains hidden or 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
| NSString* jsString = [NSString stringWithFormat:@"window.handleOpenURL(\"%@\");", url]; |
This file contains hidden or 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
| xcode-select --install |
This file contains hidden or 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
| nodebrew install v0.11.11 | |
| nodebrew use v0.11.11 |
This file contains hidden or 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
| $launcher = new SOS_Scheduler_OrderCommand_Launcher( | |
| 'localhost', //アドレス | |
| 4444, //ポート | |
| 30 //タイムアウト | |
| ); | |
| $order = $launcher->add_order(’/test/job_chain1', null); | |
| $order->replace = 'yes'; | |
| $order->id = 1; //任意のジョブオーダーID | |
This file contains hidden or 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
| echo "starting WordPressMysqlBackupJob..." | |
| WP_DB=$SCHEDULER_PARAM_WP_DB | |
| WP_USER=$SCHEDULER_PARAM_WP_USER | |
| WP_PASS=$SCHEDULER_PARAM_WP_PASS | |
| BACKUP_DIR=$SCHEDULER_PARAM_BACKUP_DIR | |
| echo "WP_DB: $WP_DB" | |
| echo "BACKUP_DIR: $BAKCUP_DIR" | |
This file contains hidden or 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
| echo "starting WordPressFileBackupJob..." | |
| WP_UPLOAD_DIR=$SCHEDULER_PARAM_WP_UPLOAD_DIR | |
| BACKUP_DIR=$SCHEDULER_PARAM_BACKUP_DIR | |
| echo "WP_UPLOAD_DIR: $WP_UPLOAD_DIR" | |
| echo "BACKUP_DIR: $BAKCUP_DIR" | |
| TIMESTAMP=`date '+%Y%m%d%H%M%S'` | |
| FILENAME="wp_upload_${TIMESTAMP}.tar.gz" |
This file contains hidden or 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
| #64bit版のJavaを使うようにする | |
| test -z "$JAVA_HOME" && JAVA_HOME="/usr/lib/jvm/jre-1.7.0-openjdk.x86_64" |
This file contains hidden or 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
| /opt/sos-berlin.com/jobscheduler/scheduler/bin/jobscheduler.sh stop |
This file contains hidden or 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
| /opt/sos-berlin.com/jobscheduler/scheduler/bin/jobeditor.sh |
This file contains hidden or 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
| sudo useradd scheduler | |
| passwd scheduler # パスワードを設定しておく | |
| su - scheduler | |
| tar xvzf scheduler_linux.1.3.12.2324.tar.gz | |
| cd jobscheduler.1.3.12.2324/ | |
| ./setup.sh # rootのパスワードを聞かれるので答えます |