Home › Questions › How to schedule a Program to run once in a month?
This topic contains 2 replies, has 3 voices, and was last updated by admin 2 years, 2 months ago.
I need a simple trick to automatically execute a shell scrip at one time on start of every month… No concern regarding exact day or time…
It will reduce one of our monthly task in our office… 🙂
Schedule the script using crontab.
If you are using crontab, add the below entry to the crontab. This schedule your script to run at 00:00 in first day of every month.
0 0 1 * * /script_name
This will exactly run the script at 12:00 AM/00:00 on 1st of every month.
You can use BBCodes to format your content.Your account can't use Advanced BBCodes, they will be stripped before saving.
Mail (will not be published) (required):
Enter the destination URL
Or link to existing content