Menü +

find ./ -type f -name '*source-string*'

run babun cron from windows

::SCHTASKS /Create /SC MINUTE /MO 5 /ST 13:50:00 /TN ApolloServiceMonitoring /TR "C:\xampp\php\php.exe C:\xampp\htdocs\apollo\cron\status.cron.php"
@echo off
setlocal enableextensions enabledelayedexpansion

set SCRIPT_PATH=C:\Users\KerekesP\.babun
set SCRIPT_PATH=%SCRIPT_PATH:\=/%
set BABUN_HOME=%SCRIPT_PATH%
set CYGWIN_HOME=%BABUN_HOME%\cygwin
set BASH=%CYGWIN_HOME%\bin\bash.exe

"%BASH%" -c "source ~/.babun_scheduler_rc && cd /c/xampp/htdocs/apollo/services && sh service_chack.sh"

cat ~/.babun_scheduler_rc  
                                                                                                                            
# JVM options
export JAVA_OPTS="-Xms128m -Xmx256m"

# Modify these lines to set your locale
export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

# Uncomment these lines to the set your machine's default locale (and comment out the UTF-8 ones)
# export LANG=$(locale -uU)
# export LC_CTYPE=$(locale -uU)
# export LC_ALL=$(locale -uU)

# Uncomment this to disable daily auto-update & proxy checks on startup (not recommended!)
# export DISABLE_CHECK_ON_STARTUP="true"

# Uncomment to increase/decrease the check connection timeout
# export CHECK_TIMEOUT_IN_SECS=4

# Uncomment this lines to set up your proxy
export http_proxy=http://usernem:[email protected]:3128
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export no_proxy=localhost

# User Agent section
# List of user agents: http://www.useragentstring.com/pages/useragentstring.php
# export USER_AGENT="Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))"

# Uncomment and increase the timeout period if you get errors/timeouts on babun check
# export CHECK_TIMEOUT_IN_SECS=4

# Uncomment to enable bloda detection
# export CYGWIN="nodosfilewarning mintty detect_bloda"
export PATH="/usr/bin:$PATH"

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.