#!/bin/bash source /etc/profile PROJECT_DIR=$(dirname $(dirname $(readlink -f "$0"))) php ${PROJECT_DIR}/think archive -o archiveDaily