See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cronjob for a script
#3
thank you [member=411]bitsnpcs[/member] Smile

I also used that site https://crontab.guru/ when creating this cronjob. Your info is ok but in my case the script is in the source directory, so according to what I read and what they told me in another forum the cronjob should look like:

0 1 * *  SUN /home/moltke/dir/cp.sh  #the * *  are wildcards so meaning the job will run every week and every month.

Since the script contains the command which is
Code:
$ cp -r -n /path/to/cp into
there's no need to add the command. Regarding rsync I think cp is good enough to do te job. BTW, you're right; instead of SUN one could use 0 or 7. There are another ways to do this it seems according to what I read, like using @weekly instead of the whole "0 1 * * SUN/0/7" but I need to read more about it before using it. For now this is supposed to work. Smile I guess I'll find out on Monday  :Smile
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
Cronjob for a script - by Moltke - 09-18-2018, 08:39 PM
Re: Cronjob for a script - by bitsnpcs - 09-18-2018, 10:20 PM
Re: Cronjob for a script - by Moltke - 09-18-2018, 11:43 PM
Re: Cronjob for a script - by bitsnpcs - 09-18-2018, 11:48 PM
Re: Cronjob for a script - by Moltke - 09-18-2018, 11:57 PM
Re: Cronjob for a script - by bitsnpcs - 09-19-2018, 12:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)