01-22-2018, 03:47 PM
set a cron job.
minute | hour | day-of-month | month | day-of-week | command
30 17 * * 1 /path/to/command
so command will be like:
crontab -e
So to run a command every monday at 5:30 in afternoon:
30 17 * * 1 /path/to/command
or every 16 hours
* */16 * * * /path/to/command
done
minute | hour | day-of-month | month | day-of-week | command
30 17 * * 1 /path/to/command
so command will be like:
crontab -e
So to run a command every monday at 5:30 in afternoon:
30 17 * * 1 /path/to/command
or every 16 hours
* */16 * * * /path/to/command
done