Long running rsync script + cron

I have a simple bash script that executes a rsync command to sync a large number of files (4TB+) from a remote server to my local machine. Using crontab -e I have set up a schedule for this script to run at a set time each day.

The crontab entry looks like this: 0 0 * * * bash /home/scripts/backup.sh

So I’m executing the script via bash. Three questions:

  1. Is there anything in this execution pipeline that would timeout? Does RSYNC, BASH or CRON timeout? The rsync command could take many hours to execute.

  2. Does CRON prevent script crossover, i.e. when the script is still running when the next schedule is due to execute? Is there a command or option for that?

  3. Is there an execution log (from rsync, cron or bash) that allows me to check progress, diagnose any errors, etc.?

Kali Linux cant see running vmplayer image

I am using kali linux and vmplayer.
When i use bWAPP in bridge mode i can access website outside vmplayer but i cant see it with netdiscover or nmap.
When i try to play with raven its problem because i dont know IP so there is no way to access it. I tried to change raven to bridge, NAT, Host-only but i cant see it on any settings.

And after installing vmplayer i have vmnet1 and vmnet8 in my bar in right upper corner.

Commands i am using to find network.

netdiscover -r (IP or vmnet1 IP or vmnet8 IP) nmap -sP (IP or vmnet1 IP or vmnet8 IP) 

I am still new in this so maybe i am missing something trivial.

custom timer job is running multiple times in SharePoint 2013

I have created a Web application scoped timer job in SharePoint 2013. This timer job is supposed to be running only once in a month , and should send an email only once . The problem i am facing is this job is running multiple times ,we have 2 WFE servers and it is running from both one by one. I checked several blogs and everyone says to put

(SPJobLockType.job) in the constructor :

  public TimerJob(string jobName, SPWebApplication webapp)   : base(jobName, webapp, null, SPJobLockType.Job)    {              this.Title = "My Timer Job";    } 

which i have already done . the code is as below:

    class TimerJob : SPJobDefinition     {         public TimerJob()             : base()         {         }          public TimerJob(string jobName, SPService service)             : base(jobName, service, null, SPJobLockType.Job)         {             this.Title = "My Timer Job";         }          public TimerJob(string jobName, SPWebApplication webapp)             : base(jobName, webapp, null, SPJobLockType.Job)         {             this.Title = "My Timer Job";         }          public override void Execute(Guid targetInstanceId)         {             UpcomingNotifications.Run();           }     } 

Please suggest me something guys that this timer job should not run more than once.

More than 9 NVME devices running start to bottleneck in linux, Ubunutu 16/18

We have a server with 24 custom NVMe devices connected ( the company i work is developing a custom ASIC for hardware video transcoding utilizing NVMe as a trasport) We are interacting with our NVMe devices using vendor specific commands in NVMe protocol utilizing linux IOCTL interface with standard inbox NVMe linux driver. We are testing this on both ubuntu 16.04 and 18.04 with various kernel but end up with the same issue no matter what we do. We have 24 devices connected over NVMe in a Gigabyte made storage server. When we run out tests, we are able to work at the desires transcoding FPS range with 9 of our devices at a time. We use FFMpeg with a custom AVCODEC plugin to run transcoding sessions. As soon as we try to utilize the 10th NVMe device, we see the performance drop on the other devices, which tells us that there is some kind of bottleneck in doing NVMe transfers. Our IO is very different from the normal SSD drive since we try to do as big of transfers as possible for both READ and WRITE operations (not NVMe read/write, but our read/write over vendor specific command interface)

we have tried to tune just about every kernel parameter there exists including using polling/hybrid polling/interrupts for nvme, changing max transfer sizes etc, nothing helps.

The server is more that capable of utilizing 10 or even 24 nvme drives , it was built for it and CPU usage is definately not a bottleneck. All our data transfers from user space to kernel space are Zero copy and 512 bytes aligned and this is confirmed by running perf on the instances.

If anyone had any experience tuning a big NVME storage system with more than 10 drives in Ubuntu (ubuntu is the primary linux distro for us atm) please share what else is it possible to do to get more than 10 devices running at max transfer rates.

running a python tkinter gui on startup using systemd

i created a GUI on python/tkinter and i need it to run on startup, can this be done using systemd or do i need to turn the script into an executable because so far every attempt at trying to use systemd as resulted in:

(code=exited, status1/failure) 

is this just a problem with how i configured the .service file or can systemctl not be used to do this?

“Module nvidia is in use” but there are no processes running on the GPU

I am trying to configure VirtualGL, and the configuration gives the following message:

IMPORTANT NOTE: Your system uses modprobe.d to set device permissions. You must execute rmmod nvidia with the display manager stopped in order for the new device permission settings to become effective. 

When I try running rmmod nvidia (or with sudo), it says that module nvidia is in use:

rmmod: ERROR: Module nvidia is in use by: nvidia_uvm nvidia_modeset

I have already stopped my window manager by running sudo systemctl stop sddm.service, so when I check nvidia-smi it says that there are no processes running on the GPU.

Most of the threads I found on this issue are related to bumblebee, but I don’t even have it insalled.

Output of nvidia-smi:

+-----------------------------------------------------------------------------+ | NVIDIA-SMI 430.40       Driver Version: 430.40       CUDA Version: 10.1     | |-------------------------------+----------------------+----------------------+ | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC | | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. | |===============================+======================+======================| |   0  GeForce GTX 1080    Off  | 00000000:01:00.0 Off |                  N/A | | 33%   39C    P8    12W / 200W |      9MiB /  8119MiB |      0%      Default | +-------------------------------+----------------------+----------------------+  +-----------------------------------------------------------------------------+ | Processes:                                                       GPU Memory | |  GPU       PID   Type   Process name                             Usage      | |=============================================================================| |  No running processes found                                                 | +-----------------------------------------------------------------------------+ 

Ubuntu 18.04

Is it possible to dc someones internet without WLAN running

I’m using a FRITZ!Box Router (with updated OS) and behind the NAT there are only devices via wired LAN connected. Actually there is only one device connected! It’s my notebook with a renewed HDD and reinstalled OS (linux).

I would like to know if it could be possible to force a disconnect from outside of my subnet. My notebook’s WLAN adapter was activated, but not connected. WLAN on my router is turned off due to abnormal behaviour in past. A few years back there were no problem. Since 1 year I got that weird stranger in my neighborhood, who stalks me and the disconnections conspicuously increased. Since I switched to wired LAN no unexpected dc noticed anymore…

I’m unexperienced and don’t know much about the possible attacks on routers or connected computers. I’m actually still learning much about web security (according to smartphones and pcs) and maybe we talk about bad coincidences, but I would like to know, if it could be possible, that attackers were able to compromise my home net or still could use possibly weak points like activated wifi adapters from notebooks to hoax me with disconnections or possibly more like spying activities.