Cron: Give us a "real" cron subsystem. (BusyBox bites)

Tell us your most wanted features from QNAP products.

Cron: Give us a "real" cron subsystem. (BusyBox bites)

Postby pwilson » Tue Jul 17, 2012 4:35 pm

The "cron" subsystem on QNAP NAS units, is nothing more than a BusyBox function as implemented. I use the word "implemented" sarcastically, as the BusyBox binary provided since at least Firmware v3.6.0 does not understand QNAP's location of it's Crontab file, and therefore changes made are not persistent.

A Linux machine without a working "scheduler" causes all kinds of problems, as many OpenSource programs expect a working Cron subsystem to be in place already.

Please add "Cron" scheduling support within the Admin WebUI as well, so that "SSH" access etc isn't required to actually use the scheduler. Issues with "crontab" are frustrating, and "workarounds" such as those listed in QNAPedia article: Add items to crontab are cumbersome. Average users should not need to "SSH" into their NAS units, and run bizarre procedures in order to add persistent crontab entries to their NAS units.

Please provide a working "cron" subsystem, that does NOT require/use BusyBox. (Sourcecode for "cron" has been freely available since the 1970's).

See my posting: Re: Shell script and cron entry disappeared!? written on Tue Jul 17, 2012 12:51 am

There is no excuse for letting this issue go unresolved for so long. A working "cron" subsystem is as much a part of Linux as the "vi" editor. Please fix this as quickly as possible.

Patrick.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-419P+ w/ 4 * Seagate Barracuda 2TB 5900rpm (RAID5) - FW: QTS 4.0.1 Build0606
Forums: View My Profile - Search My Posts - Send Private Message - View My Photo - Top Community Forum Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs - HowTos - QNAP Video Library
User avatar
pwilson
Moderator
 
Posts: 4307
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada
NAS Model: TS-419P+

Re: Cron: Give us a "real" cron subsystem. (BusyBox bites)

Postby schumaku » Tue Jul 17, 2012 4:58 pm

No -it's not BusyBox that bites - it's the difference between the native Linux cron and the embedded corn :evil:
User avatar
schumaku
Guru
 
Posts: 22583
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Cron: Give us a "real" cron subsystem. (BusyBox bites)

Postby illidan155 » Fri Jul 20, 2012 5:22 am

up

a cron job system is necessary nowadays in order to automatize many jobs
illidan155
Getting the hang of things
 
Posts: 71
Joined: Sat Feb 25, 2012 11:59 pm
NAS Model: TS-809 Pro

Re: Cron: Give us a "real" cron subsystem. (BusyBox bites)

Postby pwilson » Fri Jul 20, 2012 7:07 am

schumaku wrote:No -it's not BusyBox that bites - it's the difference between the native Linux cron and the embedded corn :evil:


I'm perfectly capable of doing the "workarounds" listed in the Wiki article, but it isn't a task I'd want to recommend to a QNAP "newbie" who knows nothing about Linux or embedded Linux systems. (I'm quite comfortable editing files in Linux, but most people aren't).

I'm am not a fan of Busybox. Perhaps I would be more of a fan, if busybox's internal functions very closer to those I have grown accustomed to using in Ubuntu I'd be a lot happier. Perhaps if busybox was replaced with a newer (QNAP cron-aware) version I'd be happier.

Surely someone at QNAP simply create a QPKG to swap in a newer (QNAP cron-aware) "busybox" at boot time. This would provide a functional resolution to the problem, and would restore a basic functionality that is currently broken. This would "patch" the problem, and allow their programmers to return to working on whatever is coming down the pipe to us next. (An updated "busybox" will be needed for the next firmware anyway, so this is still a good use of programmers time. Only the QPKG packaging would be additional labour, and even that should be minimal, as QNAP's programmers are probably already proficient at using their own packaging system).

This isn't a request for a new feature, it is a request for a BugFix for a long standing issue. We can't exactly compile one up ourselves, as we won't be aware of other path issues etc that need to be addressed when working with the original source on an embedded device. As QNAP already has 95% working "busybox", they could squash this bug, and fix both the present and the future with minimal effort or expense required.

Either give me a working standalone "cron" subsystem, or fix busybox so that it can provide a working "cron" subsystem, at this point I really don't care "how" it gets fixed, I simply want it fixed. We're talking about a basic functionality of Linux, that other software relies on actually working. A scheduler is a pretty basic function.

This should be relatively easy for QNAP to fix, they already have the sourcecode of their customized busybox to work with. Or they could do it right and start customizing from newer sources. At this point I'd accept a "patched" busybox, I would be happy to figure out how to bootstrap it into place all by myself. In fact if I was able to get such a "patched" busybox, I would be happy to document how I did it for the benefit of others. I strongly believe in QNAP, and their products, but there are a few annoyances that remain unresolved, this just happens to be the "big one" in my world. .

I repeat again a working cron subsystem is as much as part of Linux as the "vi" editor, this issue has gone unresolved for too long.

Patrick.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-419P+ w/ 4 * Seagate Barracuda 2TB 5900rpm (RAID5) - FW: QTS 4.0.1 Build0606
Forums: View My Profile - Search My Posts - Send Private Message - View My Photo - Top Community Forum Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs - HowTos - QNAP Video Library
User avatar
pwilson
Moderator
 
Posts: 4307
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada
NAS Model: TS-419P+

Re: Cron: Give us a "real" cron subsystem. (BusyBox bites)

Postby Misterd » Wed Aug 15, 2012 1:07 am

I suspect there is a reason why a true, customer-accessible, Cron system is not provided.
If a noob screws up the Crontab, the QNAP becomes a support nightmare, paid-support or not.

Given that, I still don't see why you can't even have 2 Crontab files, one customer-accessible, the other QNAP-only.
Misterd
Starting out
 
Posts: 11
Joined: Tue May 04, 2010 11:32 pm
NAS Model: TS-259 Pro


Return to Features Wanted

Who is online

Users browsing this forum: No registered users and 4 guests