Imprint

This blog is run by:

Falk Jeromin
Zaubzerstr. 49
81677 Munich
contact [ at ] tech-blogger.net

5 comments

  1. Hello,
    I need a permanent job that looks into a directory on the NAS to see if the file XYZ exists.
    If the XYZ file is present, the NAS should shut down.
    With this I want to shut down the NAS in a controlled manner.
    I have no experience with Freenas
    Greeting
    Franky

    1. Hm, I just can't imagine the overall scenario: how do you get the file there? How do you make sure that the file is not still there after the next reboot and the system shuts down again immediately? In principle, this could be done with a script similar to what checks for PING.

  2. Hello, Kadderx,
    I create a cmd on Win PC which puts the file in the directory. When I run this cmd (NAS power off signal) and the file is on the NAS, the permanent job should shut down the NAS and delete the file from the directory.

    1. Which would also be a variant: FreeNAS has an API: http://api.freenas.org/resources/system.html#shutdown with it you can easily initialize the shutdown, even from any system that makes the corresponding call. If I were you, I'd keep on researching in this direction (I haven't thought about whether you can completely outsource the shutdown, but obviously it works).

  3. Give me a call and send me an email with your phone number regarding the Connect Box from Unitymedia. If you have cable in Romania it is extremely cheap and who says that a router has to be connected down there. 🙂 PS can also call my American phone number on my website.

Leave a Reply

Your email address will not be published. Required fields are marked *