• March 28, 2024, 01:24:12 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Add-on "vtcron v.1.03" for D-Link NAS  (Read 15430 times)

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Add-on "vtcron v.1.03" for D-Link NAS
« on: December 04, 2014, 03:56:57 AM »

[Add-on] vtcron v.1.03

[Description]
The software utility Cron is a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration-though its general-purpose nature makes it useful for things like connecting to the Internet and downloading email at regular intervals.

[Version]
Add-on Package v1.03

[Maintainer]
vtverdohleb

[Download link]
DNS-320L vtcron Package v1.03_10272015_UA
DNS-325 vtcron Package v1.03_10272015_UA
DNS-327L vtcron Package v1.03_10272015_UA
DNS-340L vtcron Package v1.03_10272015_UA
DNS-345 vtcron Package v1.03_10272015_UA

[Resource]
Cron Wiki http://en.wikipedia.org/wiki/Cron
Other Add-ons http://dlink.vtverdohleb.org.ua/Add-On/

[Remarks]
Download and install the vtcron Add-On.
Click the link for the vtcron web interface and configure it.
« Last Edit: October 27, 2015, 03:13:39 AM by vtverdohleb »
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

Blasse

  • Level 1 Member
  • *
  • Posts: 9
Re: Add-on "vtcron v.1.02" for D-Link NAS
« Reply #1 on: October 26, 2015, 12:04:36 PM »

Hi,

I have installed vtcron on my DNS-320L, but script added through it doesn't start. But if I login to my NAS using ssh and manually edit crontabs it works just fine. Could you help me debug that problem?

When I manually restart vtcron it gives in terminal:
/mnt/HD/HD_a2/Nas_Prog/vtcron # ./restartcrond.sh
Restart Path is /mnt/HD/HD_a2/Nas_Prog/vtcron
0
cronb: applet not found
/mnt/HD/HD_a2/Nas_Prog/vtcron #

Also, ps doesn't show cronb as running...
« Last Edit: October 26, 2015, 02:16:45 PM by Blasse »
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "vtcron v.1.02" for D-Link NAS
« Reply #2 on: October 27, 2015, 03:07:47 AM »

Hi,

I have installed vtcron on my DNS-320L, but script added through it doesn't start. But if I login to my NAS using ssh and manually edit crontabs it works just fine. Could you help me debug that problem?

When I manually restart vtcron it gives in terminal:
/mnt/HD/HD_a2/Nas_Prog/vtcron # ./restartcrond.sh
Restart Path is /mnt/HD/HD_a2/Nas_Prog/vtcron
0
cronb: applet not found
/mnt/HD/HD_a2/Nas_Prog/vtcron #

Also, ps doesn't show cronb as running...

You are right, my mistake. I didn't take into account that not every firmware is embedded Perl.
Fixed. Reinstall vtcron v1.03
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

Blasse

  • Level 1 Member
  • *
  • Posts: 9
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #3 on: October 27, 2015, 03:31:38 AM »

Seems to work fine now. Thanks! :)
Logged

Matt JT

  • Level 1 Member
  • *
  • Posts: 1
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #4 on: January 17, 2016, 05:25:36 AM »

Hi there

Is there a package available for vtcron for  DNS-320B?

I know that add ons are not officially supported for this version but I have had success installing add ons where the package is available using the instructions here http://forums.dlink.com/index.php?topic=62804
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #5 on: January 19, 2016, 01:25:47 PM »

The reason why me personally? That's the reason http://forums.dlink.com/index.php?topic=64029.0
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

peteve

  • Level 1 Member
  • *
  • Posts: 3
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #6 on: April 11, 2016, 07:32:06 AM »

* DNS-320L
* vtcron
* 1.03
* Command does not run at the desired time. And if I add a @reboot, it seems to fall into a bootloop. Device firmware 1.06
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #7 on: April 11, 2016, 11:56:05 AM »

* DNS-320L
* vtcron
* 1.03
* Command does not run at the desired time. And if I add a @reboot, it seems to fall into a bootloop. Device firmware 1.06

The addon is not a full-fledged "cron daemon". "Cron" of busybox package. this is more than enough for my needs. "@reboot" In busybox not.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

peteve

  • Level 1 Member
  • *
  • Posts: 3
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #8 on: April 16, 2016, 08:04:55 AM »

Any documents on how to use this add-on?
Logged

personne

  • Level 1 Member
  • *
  • Posts: 1
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #9 on: April 21, 2016, 06:28:17 AM »

Hello,

I try to delete files with more than 30 days with the command "find /mnt/HD/HD_a2/CamBas -type f -mtime +30 -exec rm -f {} \;" but adds vtcron \ :
find /mnt/HD/HD_a2/CamBas -type f -mtime +30 -exec rm -f {} \; become find /mnt/HD/HD_a2/CamBas -type f -mtime +30 -exec rm -f {} \\\;
Logged

vertmanx

  • Level 1 Member
  • *
  • Posts: 4
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #10 on: November 12, 2016, 06:19:40 PM »

Any documents on how to use this add-on?

I'm looking for the same thing as well...
Logged

Nibbik

  • Level 1 Member
  • *
  • Posts: 1
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #11 on: March 16, 2019, 06:55:40 AM »

Looks like vtcron stops working every few days: I made a cronjob to add a line to a log every 5 minutes, so looking at my log I can see now that 2 days ago vtcron stopped working again. It restarts when I make a change in cronjobs. This happens every x days.
Why does it stop, and how can I let it restart automatically?
PM: D-link DNS-327L NAS, firmware v1.10, vtcron v1.03
« Last Edit: March 16, 2019, 07:00:58 AM by Nibbik »
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "vtcron v.1.03" for D-Link NAS
« Reply #12 on: March 19, 2019, 09:12:44 AM »

Looks like vtcron stops working every few days: I made a cronjob to add a line to a log every 5 minutes, so looking at my log I can see now that 2 days ago vtcron stopped working again.

I personally use "vtcron" to collect backups to my NAS. Everything works perfectly.

View crontab system log
/mnt/HD/HD_a2/Nas_Prog/vtcron/log/crond.log
maybe you can find the cause of the problem in the log
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php