Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/usr/bin/ksh
set -A arr $(cal)
days_in_month=${arr[$((${#arr[*]}-1))]}
day_of_month=$(date +%d)
days_remaining=$((days_in_month-day_of_month))
if [[ $days_remaining -lt 7 ]]
then
echo run the script
else
echo not the last sunday
exit
fi