WD Community

Cron type application creation

OK, I have read all the discussions about the difficulties of setting a Cron job in this device. I can SSH into the device, add a Cron task and all is well. As many have seen, the cron table is overwritten anytime the machine is rebooted. Hacking away at files is error prone and will be wiped out by any code upgrades. What would be the difficulty of writing an new application that is fairly “dumb” but allows scheduling tasks? I see where the Anti-Virus Essentials application has a scheduling function that in turn updates the config.conf file somehow. I would take a crack at it myself, but I cannot find where writing an application is documented anywhere, sure I can grab a current application from the GPL library, but it includes all the baggage of the development pieces and parts but no documentation.

All I am wanting to do is run a shell command that purges files older than 30 days from a directory, a simple one line cron statement. I hate to give up.

I am not aware of development guidelines for 3rd party WD My Cloud-family apps. Hopefully an experience User will be able to assist.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.