Zefix_search/cronjobs.sh

21 lines
463 B
Bash

#!/bin/sh
echo "Starting Script $0"
# Get the current date and time in a specific format
formatted_time=$(date +"%Y-%m-%d %H:%M:%S")
# Echo the formatted time
echo "Current time: $formatted_time"
cd domains
cd zefix.silias.ch
cd public_html
/usr/bin/php taskExecuter.php
echo "Script is Ending $0"
# Get the current date and time in a specific format
formatted_time=$(date +"%Y-%m-%d %H:%M:%S")
# Echo the formatted time
echo "Current time: $formatted_time"