LOG_FILE="/home/wiselie/public_html/logfile.log"
#echo "$(date): Starting request to https://wiselie.co.id/shopee_shipment_go.php" >> $LOG_FILE
#curl -s --max-time 840 https://wiselie.co.id/shopee_shipment_go.php >> $LOG_FILE 2>&1        
#if [ $? -eq 0 ]; then
#    echo "$(date): Request shopee_shipment_go completed successfully" >> $LOG_FILE
#else
#    echo "$(date): Request shopee_shipment_go timed out or failed" >> $LOG_FILE
#fi

#echo "$(date): Starting request to https://wiselie.co.id/shopee_shipment.php" >> $LOG_FILE
#curl -s --max-time 840 https://wiselie.co.id/shopee_shipment.php >> $LOG_FILE 2>&1
#if [ $? -eq 0 ]; then
#   echo "$(date): Request shopee_shipment completed successfully" >> $LOG_FILE
#else
#   echo "$(date): Request shopee_shipment timed out or failed" >> $LOG_FILE
#fi

#echo "$(date): Starting request to https://wiselie.co.id/shopee_order.php" >> $LOG_FILE
#curl -s --max-time 840 https://wiselie.co.id/shopee_order.php >> $LOG_FILE 2>&1
#if [ $? -eq 0 ]; then
#   echo "$(date): Request shopee_order completed successfully" >> $LOG_FILE
#else
#   echo "$(date): Request shopee_order timed out or failed" >> $LOG_FILE
#fi

echo "$(date): Starting request to https://wiselie.co.id/shopee_download_failed.php" >> $LOG_FILE
curl -s --max-time 840 https://wiselie.co.id/shopee_download_failed.php >> $LOG_FILE 2>&1
if [ $? -eq 0 ]; then
    echo "$(date): Request shopee_download_failed completed successfully" >> $LOG_FILE
else
    echo "$(date): Request shopee_download_failed timed out or failed" >> $LOG_FILE
fi
