Find the answer to your Linux question:
Results 1 to 2 of 2
hi friends, i hv a doubt i want to run a shell script every one minute and on the first day of every month will the below given crontab entry ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    30

    Lightbulb Doubt in crontab entry ??

    hi friends, i hv a doubt
    i want to run a shell script every one minute and on the first day of every month
    will the below given crontab entry will work??
    I know that it will work for every minute, but on the first day of every month im not sure.

    (min hr dayofmonth month dayofweek cmd)
    */1 * 1 * * /root/Sample.sh
    ??

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Posts
    30
    Quote Originally Posted by jayasekar.k View Post
    hi friends, i hv a doubt
    i want to run a shell script every one minute and on the first day of every month
    will the below given crontab entry will work??
    I know that it will work for every minute, but on the first day of every month im not sure.

    (min hr dayofmonth month dayofweek cmd)
    */1 * 1 * * /root/Sample.sh
    ??
    yes it will work, Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...