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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="format-detection" content="telephone=no" /> | |
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> | |
<link rel="stylesheet" type="text/css" href="css/index.css" /> | |
<link rel="stylesheet" type="text/css" href="css/jquery.mobile.min.css" /> | |
<title>Sample Title</title> | |
</head> |
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
chmod 755 jdk-6u37-linux-i586-rpm.bin | |
./jdk-6u37-linux-i586-rpm.bin | |
java -version | |
java version "1.6.0_37" | |
Java(TM) SE Runtime Environment (build 1.6.0_37-b06) | |
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing) |
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
tar xvzf mysql-connector-java-5.1.22.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
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のパスワードを聞かれるので答えます |
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
/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
#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
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
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
$launcher = new SOS_Scheduler_OrderCommand_Launcher( | |
'localhost', //アドレス | |
4444, //ポート | |
30 //タイムアウト | |
); | |
$order = $launcher->add_order(’/test/job_chain1', null); | |
$order->replace = 'yes'; | |
$order->id = 1; //任意のジョブオーダーID | |
OlderNewer