What's new

User script basics questions

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

prof_moriarti

New Around Here
Hello
I have been reading the official doc about scripts, but i still have some questions/doubts.

I have enabled Jffs partition and i have created a script that updates a ddns record (duckdns) and it works fine if i run manually
But i have some doubts:
In order to be run automatically for example when ddns-start event.

The script should be named in a particular way or should be placed in a particular folder
for example:
  1. ddns-start.sh directly in /jffs/scripts
  2. or vreate a folder called ddns-start --> /jffs/scripts/ddns-start/
  3. or both /jffs/scripts/ddns-start/ddns-start.sh

Thxs a lot in advance

 
The script would be called ddns-start. There is no .sh extension. It should be placed in the /jffs/scripts directory.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top