Page 1 of 1

Cron?

Posted: 17 Mar 2021, 23:20
by V8Triker
I have had a search, and oddly this question never seems to have been asked.
Is there anyway to configure a Cron job?

Whilst I am running a RAID 5 set up, that then backs up to a RAID1 Volume (5 disks in total), I then want to back up to a NAS outside of the building.
Rsync is available, but Cron does not seen to be.

Any suggestions?

Many thanks in advance.

Re: Cron?

Posted: 18 Mar 2021, 10:09
by RyanYang
Hi,
May I ask why you want to use Cron jobs? Rsync can already implement scheduled backups.
I am not sure if my answer is what you want.
You can put the backup task script into a certain directory, log in the TNAS with SSH, and then use the command "crontab -e" to add tasks, but once you restart the device, this scheduled task will be invalid.

Re: Cron?

Posted: 18 Mar 2021, 17:39
by V8Triker
I thought the TNAS Rsync is only good for backing up to an Rsync server.
The external NAS I will, back up to is very basic, there is nothing configurable, so I can not use the TNAS Rsync app.

I have just tested, and crontab does get re-written on a power-cycle.

So, whilst Cron is available, it is pretty useless if all the jobs are just going to be lost on a reboot.

Re: Cron?

Posted: 14 Apr 2021, 03:36
by outkastm
Cron is available here as 3rd party modulel. Jobs are persistent after reboot and jobs can be added via module webui
viewtopic.php?f=37&t=1821

Re: Cron?

Posted: 14 Apr 2021, 05:55
by V8Triker
Thank you.
Will check it out.