How to run another command in serial after "synogear install" in a script

Currently reading
How to run another command in serial after "synogear install" in a script

1
0
NAS
DS920+
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
I am running Synology DS920+ with DSM 7.1.1-42962 Update 4

I want to run ncat command to check for open port on a IP address in my lan.
It is available after installing synogear.
But for that I have to execute "synogear install" everytime, which drops me into another shell, and then run my ncat command.
I want to do the above via cron.

How do I put it in a shell script so the ncat command runs in the shell that "synogear install" drops me into?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Question
I guess expensive is relative.... I need 3 pc's and 3 nas (well, 2 I guess as my third doesnt have 10g...
Replies
45
Views
7,722
I’ve multiple 1TB Drives, sitting on shelf, now without a home. Starting from 1TB Drives. I’d upgrade...
Replies
3
Views
446
Yes I think you are spot on. In fact I ended up deleting all of the Synology Drive tasks and re-built...
Replies
2
Views
635
As already said, the expansion unit is part of the main NAS unit and so it's storage pool* and volume/s...
Replies
6
Views
1,740
Replies
8
Views
1,128
See above. I am not running LR from a remote library but one in Synology Drive, which works well. It was...
Replies
34
Views
3,699

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top