Bitcoin Forum
May 05, 2026, 10:34:27 PM *
News: Latest Bitcoin Core release: 31.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 352 »
  Print  
Author Topic: [ mining os ] nvoc  (Read 418648 times)
VoskCoin
Sr. Member
****
Offline

Activity: 1414
Merit: 487


YouTube.com/VoskCoin


View Profile WWW
July 16, 2017, 08:25:29 PM
 #1201

How exactly do I utilize

The new watchdog function?

Auto reboot?

And can I remote in?

First I recommend watching the v0018 DEMO linked on the OP: I give an overview of how the WATCHDOG works.

To use the WATCHDOG; you only need to set:

Code:
IAmNotAJeep_and_Maxximus007_WATCHDOG="YES"


AUTO_REBOOT will stop all mining and reboot when its timeout expires.  You use it by setting:

Code:
AUTO_REBOOT="YES"

and then setting the timeout in minutes
Code:
REBOOT_TIMEOUT_IN_MINUTES=1440

is once a day

If you are planning on using a headless / SSH setup ensure:

Code:
LOCALorREMOTE="REMOTE"

then after SSHing into the rig:

enter

Code:
screen -r miner


SALFTER_NICEHASH_PROFIT_SWITCHING

and

IAmNotAJeep_and_Maxximus007_WATCHDOG

will intermittently kill your screen in their normal operation.


When using PROFIT_SWITCHING and or WATCHDOG if your screen was killed you can connect to the regenerated one with the same cmd:

Code:
screen -r miner


Also I have noticed a problem when using both PROFIT_SWITCHING and or WATCHDOG together; I will make changes to the next 1bash to fix it.


Why would I reboot the rig daily if it has consistent performance? Your software has given me 100% uptime

Check out my Crypto YouTube channel
https://www.youtube.com/VoskCoin
If you enjoy my content click Subscribe
eppy
Newbie
*
Offline

Activity: 2
Merit: 0


View Profile
July 17, 2017, 01:24:41 AM
 #1202

Hi fullzero,

thank you for keeping this project alive and the constant updates.
I've been running 017 version on z270-hd3p gigabyte motherboard + 3 x 1080TI and a 1070 for almost 2 weeks now with no issues.

meanwhile does anyone have the issue with 018 version not working at all? ewbf does not even start. Most settings have been the same as from the onebash file in 017. Turned off most of the new additional features like watchdog and auto temp.
I've tried booting from an ssd as well as a 32gb sandisk ultra flair thumbdrive; I keep getting the error [Screen is terminating] at the end.

I understand the issue is most likely a configuration somewhere gone wrong, therefore it terminated before even trying to load ewbf miner, but was there such a drastic change from 017 to 018 that I missed out?

Would really like to find out if anyone faced a similar issue, so I iron it out and run ver 018.
Thanks!

I have received many pm's with similar questions.

I think 2 things may be the case when members have such an experience:



1

LOCALorREMOTE has been set to:

Code:
LOCALorREMOTE="REMOTE"

When this is the case; the miner launches in a screen which is a background process and is not automatically attached to a local terminal. 

The purpose of this is to save time when SSHing in (mining process will not need to be restarted; it can just be attached).

If you are using a monitor always ensure:

Code:
LOCALorREMOTE="LOCAL"

or else you will have to manually enter:
Code:
screen -r miner

to attach the mining process to a terminal.


2

SALFTER_NICEHASH_PROFIT_SWITCHING has been set to:
Code:
SALFTER_NICEHASH_PROFIT_SWITCHING="YES"

When this is the case; the mining process launches in the guake terminal (press f12 to open) 

when:

LOCALorREMOTE has been set to:

Code:
LOCALorREMOTE="LOCAL"

If:

LOCALorREMOTE has been set to:

Code:
LOCALorREMOTE="REMOTE"

When this is the case; the miner launches in a screen which is a background process and is not automatically attached to a local terminal. 



Let me know if '1' is the case; if it not: please post your settings for:

Code:
COIN="ZEC"

SALFTER_NICEHASH_PROFIT_SWITCHING="NO"

Maxximus007_AUTO_TEMPERATURE_CONTROL="YES"

IAmNotAJeep_and_Maxximus007_WATCHDOG="YES"

LOCALorREMOTE="LOCAL"


I had a retard moment (must be the flu) and typed zec instead of zcash for the flypool server address. Everything is up and running fine off an Ssd. Glad it worked.

Thank you for your quick reply and great work.
fk1
Full Member
***
Offline

Activity: 216
Merit: 100


View Profile
July 17, 2017, 07:50:46 AM
 #1203

Anybody has a hint for me why connecting to $MUSIC pool results in invalid login? I tried several ways like adding workername with . or / but alway invalid login for me

MUSIC_WORKER="Alpha"
MUSIC_ADDRESS="0xc359d9a6d1e63f2b1cc0619f21583e7830a14026"
MUSIC_POOL="stratum+tcp://music.spdns.eu:8008"
MUSIC_EXTENTION_ARGUMENTS=""    # add any additional claymore arguments desired here

OverEasy looked into MUSIC; and I didn't add the changes to the v0018 1bash:


if you scroll to line 2305 in 1bash and find the MUSIC block:

Code:
if [ $COIN == "MUSIC" ]
then

if [ $GENOILorCLAYMORE == "GENOIL-CURRENTLY-NOT-SUPPORTED" ]
then
HCD='/home/m1/eth/Genoil-U/ethminer'

MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER"

screen -dmS miner $HCD -S $MUSIC_POOL -O $MUSICADDR:x -U

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi

#if [ $GENOILorCLAYMORE == "CLAYMORE" ]
#then
if [ $CLAYMORE_VERSION == "9_7" ]
then
HCD='/home/m1/eth/9_7/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_5" ]
then
HCD='/home/m1/eth/9_5/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_4" ]
then
HCD='/home/m1/eth/9_4/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "8_0" ]
then
HCD='/home/m1/eth/8_0/ethdcrminer64'
fi

MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER"

screen -dmS miner $HCD -epool $MUSIC_POOL -ewal $MUSICADDR -epsw x -mode 1 -allpools 1 -dbg -1 $MUSIC_EXTENTION_ARGUMENTS

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
#fi



and replace it with:




Code:
if [ $COIN == "MUSIC" ]
then
 
if [ $GENOILorCLAYMORE == "GENOIL" ]
then
HCD='/home/m1/eth/Genoil/ethminer'
 
MUSICADDR="$MUSIC_ADDRESS"
MADDR="$MUSIC_ADDRESS.$MUSIC_WORKER"

screen -dmS miner $HCD -S $MUSIC_POOL -O $MUSICADDR:x -U

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi

if [ $GENOILorCLAYMORE == "CLAYMORE" ]
then
if [ $CLAYMORE_VERSION == "9_7" ]
then
HCD='/home/m1/eth/9_7/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_5" ]
then
HCD='/home/m1/eth/9_5/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_4" ]
then
HCD='/home/m1/eth/9_4/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "8_0" ]
then
HCD='/home/m1/eth/8_0/ethdcrminer64'
fi

MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER"

screen -dmS miner $HCD -epool $MUSIC_POOL -ewal $MUSICADDR -epsw x -mode 1 -allpools 1 -dbg -1 $MUSIC_EXTENTION_ARGUMENTS

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
fi

It might work; could also be a problem with your pool configuration.


Hi fullzero! thanks for support. I saw your hint in your op about music but I'm sorry I have to say I did not understood until you further explained.

Now in my case it wasnt even the fix to replace the slash with the dot but completely remove the worker part.

I want to say thx by mining a day for you, do you prefer any coin/wallet?
lost_post
Newbie
*
Offline

Activity: 13
Merit: 0


View Profile
July 17, 2017, 09:58:33 AM
 #1204

All once again good afternoon!

I added:
1. email alarms (sendemail),
2. webUI for monitoring (apache2 + go + gotty),  
# All needed apts will install in first boot if $GOTTY="YES" || $EMAIL="YES". in settings.sh
3. auto update pasteBin and restart miner if something changes.
# you need to run crontab -e and add "*/5 * * * * ~/update_wallets.sh" . To check update every 5 minutes.


Completed / redone:
1. Option to set all Target temps and PowerLimits in two strings while using autoFANS
2. add specific PL and CLOCK for some coins
3. output nvidia-smi to screen every 30 sec when check fans, even if the fans are in manual mode. (to see temps, RPMs, memory in gotty, or via SSH, or via local quake)
4. Manual setting WORKER_NAME to use with pools. In settings.sh . If don't set using nvXXX (last digs of ip)
5. WORKER_NAME is hostname of rig, for more useful network search.

I divided the code into several files (start, miner, overclock, e-mail, fans). Settings rendered in 3 separate files:
settings.sh - constant machine settings
gpus_settings.sh - constant settings of video cards
wallets - settings of wallets, miners, machine settings variables.
Unfortunately, I have not yet had a chance to check how it works on the v18, but on v17 all is good. I think I can check in the next couple of days.

All the files are added to the folders as in the archive. Your need to change autostart from "gnome-terminal" to "~/start" (sudo nano ~/.config/autostart/webmob.desktop )
Settings are given in three files in the mnt sub folder. settings, gpus_settings, wallets

I would be happy if someone at least a small part of my work is useful.

fullzero and other developers: I ask for applications for deleted comments and descriptions, maybe even in some places copyright. While working on the code - some parts were in the way.

Of course, I could forget or confuse something, but I seem to remember everything and wrote.

Please do not make alternate releases.

As I have already told you:

https://bitcointalk.org/index.php?topic=1854250.msg20058141#msg20058141

Quote
In general I would like to offer as many options to members as possible and encourage members to share their customizations.

With any contribution, so long as it is not a blatant copy of a prior contribution; I will integrate it and add acknowledgement and BTC donation address to the top of oneBash.

If you use or make an executable; you must provide me with the source code and I will examine and compile it myself.

Your contribution must be free and open source.

I would like to avoid solutions involving the installation of multiple programs or services; to so something that can be done via SSH, SFTP, or a socket.


also see:

https://bitcointalk.org/index.php?topic=1854250.msg20093039#msg20093039


Quote
You can make modules to do distinct operations: like overclocking, miner selection, watchdog, monero mining, etc to make easier to tune/restart some parts.  And I will integrate them with switches to be readinto / not used in oneBash.  In addition they could also be used independently, such as a OC bash could be run while already mining.  A benchmarking bash / py could be made to find and log the opt stable settings ect.  The goal is to provide members with as many options as possible while maintaining ease of use.

Once most of the requested features have been implemented; I will make a github and target oneBash optimization.


It makes no sense to have members downloading multiple versions of the OS when only a few files are changed.  

Also; in such cases: I cannot confirm that the system has not been altered or malware added ( I am not saying you have done this, but that it is always a possibility especially when done by new members).  


If you post the code for each additional file (or send me a pm with it); I will integrate your contributions into 1bash (or selectively in 2unix depending on how different they are) with a single or multiple switches: and add acknowledgement and your BTC donation address to the top of 1bash.

I was not going to make an alternative release.
I posted the code I redesigned so that you could see and add the options you liked to your release.
I can not put it in separate pieces of code, because this is your code divided into different files, plus my code, plus the code of other developers, a little finished. If interested, download the archive and watch. If you want I can lay out the text files without an archive. https://drive.google.com/drive/folders/0B8OLYcDXEG6rVTdIYmtFMndPdXc?usp=sharing If not interesting, do not use and do not add to the release.
OverEasy
Sr. Member
****
Offline

Activity: 301
Merit: 251


View Profile
July 17, 2017, 01:38:00 PM
 #1205

I know somewhere buried in 98 pages is the explanation of what Watchdog is but darn if I can find it.

I think there was a link on the OP but don't see it there either.

Can someone please post the link or page number of the info?

What is watchdog watching? How does it work? What the heck is it Smiley

Deki1904
Sr. Member
****
Offline

Activity: 490
Merit: 250


View Profile
July 17, 2017, 02:23:47 PM
 #1206

I tried to Change TPccminer to ASccminer for Skein Algo Mining DGB, nothing happend, Mining will not start.

With TPccminer is working well... but AS is faster 20-30%...

Any idea why istn working?

cheers
fk1
Full Member
***
Offline

Activity: 216
Merit: 100


View Profile
July 17, 2017, 04:36:45 PM
 #1207

@fullzero: I'll mine some time ZEC for you since I dont have wallets yet but interested in what my small rig is capable of in terms of sol/h. mining into the placed config now as worker 'fk1bitcointalk'. cheers!
kw1k
Newbie
*
Offline

Activity: 14
Merit: 0


View Profile
July 17, 2017, 06:13:40 PM
 #1208

I tried to Change TPccminer to ASccminer for Skein Algo Mining DGB, nothing happend, Mining will not start.

With TPccminer is working well... but AS is faster 20-30%...

Any idea why istn working?

cheers

The linux branch of AS is very far behind the Windows branch; I'm not sure if the linux branch even supports DGB. 



I will look into the link kw1k sent me:

https://github.com/alexis78/ccminer/tree/master

and see if this is different from the version I complied for nvOC.




I compiled the alexis78 git under ubuntu 16.04 VM, this version does support c11. Not sure about DGB algos as I have not tested.
OverEasy
Sr. Member
****
Offline

Activity: 301
Merit: 251


View Profile
July 17, 2017, 06:29:18 PM
 #1209

I know somewhere buried in 98 pages is the explanation of what Watchdog is but darn if I can find it.

I think there was a link on the OP but don't see it there either.

Can someone please post the link or page number of the info?

What is watchdog watching? How does it work? What the heck is it Smiley



See the v0018 demo video:

https://drive.google.com/file/d/0B3ra23kLdr5lSlIxZkJqSm1oWFk/view

Then let me know if I explained it well enough; or if you have more questions.



Yes the video explained it well.
Thanks
OverEasy
Sr. Member
****
Offline

Activity: 301
Merit: 251


View Profile
July 17, 2017, 06:38:14 PM
 #1210

I am getting errors on V.18
I am SSH ONLY. No monitor. No Guake. No Gnome.

First error is after 1bash tries to stop TeamViewer -


Mon Jul 17 14:26:28 EDT 2017
Action: Removing ...
systemctl stop teamviewerd.service
Failed to stop teamviewerd.service: Unit teamviewerd.service not loaded.
fail

kill '/opt/teamviewer/tv_bin/script/teamviewer' - root (/home/m1/.local/share/teamviewer12 / /home/m1/.local/share/teamviewer12)



Failed to execute operation: No such file or directory
try again, full path...
Failed to execute operation: Invalid argument

Second error is when Maxximus007_AUTO_TEMPERATURE_CONTROL launches -

LAUNCHING:  Maxximus007_AUTO_TEMPERATURE_CONTROL

process in Guake Tab

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help`
       for usage information.

I have to assume Temp Control has failed and is not working.
Can you consider launching temp control and watchdog NOT in Guake if "REMOTE" is chosen but in screens instead? I will try to change bash myself to make this happen.

Thanks
Nexillus
Full Member
***
Offline

Activity: 169
Merit: 100


View Profile
July 17, 2017, 07:22:40 PM
 #1211

Fullzero, IAmNotAJeep or Maxximus007,

Have a question on the watchdog script. I noticed it has triggered twice in the last 24 hours but not sure why as it seems there is not much information within the logs to try to troubleshoot.

The one I am getting is: utilization is too low; reviving did not work so restarting system in 10 seconds. With the restart knocks the miner out for about 20 minutes. I am trying to figure out what is going on and only started having this happen when I went to VER18. I changed the utilization under the script to 80 instead of 90 today to see if that helps.

I appreciate any help or insight into the possible problem, as with the restarts wipes out the other logs.

I have noticed a problem when using both PROFIT_SWITCHING and or WATCHDOG together; I will make changes to the next 1bash to fix it.

It is also possible that the timeouts between checks in the WATCHDOG should be relaxed when mining Ethash COINs.  Or relaxed in general.


If the timing is right; PROFIT_SWITCHING will switch close to the WATCHDOG check and a low utilization will be detected.  

I will make a flag for both IN-SWITCHING and DAG-BUILDING to prevent this in the next 1bash.



What COIN selection are you using or are you using SALFTER_NICEHASH_PROFIT_SWITCHING?



I am not currently using SALFTER_NICEHASH_PROFIT_SWITCHING since Ethash is so close with the profit switching right now.

Not sure what it is but I am rolling back to VER17 on this rig, as it just restarted again and then hard locked up after initial start-up showing a black screen then the flash drive was corrupted and refused to boot.

Just found out it may have been the flash drive the last 48 hours as it just died. LOL write errors all over it. I am testing now with a new flash drive.

What program are you using to image you USB key?

If your using a Windows build computer; I would use hddrawcopy for v0018.

Let me know if this is working with your new USB key.

I am using hddrawcopy on windows 10. It seems to be the flash drive, been over 20 hours now no issues with a new flash drive.

Love new flash drive dies within a week, time to contact newegg!
I am using hddrawcopy  on windows 10, it was the flash drive.
pixelizedchaos
Newbie
*
Offline

Activity: 18
Merit: 0


View Profile
July 17, 2017, 08:51:06 PM
 #1212

So if I want my rigs to be completely headless is there a way to access Teamviewer and enable all those check marks for auto running, and log in through ssh? or is there a better alternative? as it is now, I have a fully closed rig, and I have to rip it apart everytime, I want to update to a new version or if there is an issue with my TV or USB. Thanks!
hatch789
Member
**
Offline

Activity: 66
Merit: 10


View Profile WWW
July 17, 2017, 09:38:06 PM
 #1213

Hey Full,

Is there any way you could make the image a tiny bit smaller? I (and I'm sure others) have 16G USB sticks that are already USB 3.0. Unfortunately your image is just a few hundred MB too large to fit onto a 16G stick.

I see there is free space at the end of the image. Any chance you could trim off just 500MB? -If you are able to do that then we can truly use our 16G USB Sticks without hassle.

Also running into an issue with RDP. It won't let me connect. I have tried searching the forum; I know you said it's fully indexed by google... but HOW does one search just this thread in google for something like RDP as an example? If you have an example of that type of search string it would be great.




Thanks,
-Hatch -= http://UbuMiner.com =-
Deki1904
Sr. Member
****
Offline

Activity: 490
Merit: 250


View Profile
July 17, 2017, 09:44:20 PM
 #1214

Gparted would be cool. Because I tried to install few things it didn't work for me. Not enough space. I couldn't install Gparted... Would be nice for the next image. Also if you could add solo mining options would be great. That you could connect to one instance server what ever. Maybe for few coins not all at the time. Think it's a lot of work.

Cheers
hatch789
Member
**
Offline

Activity: 66
Merit: 10


View Profile WWW
July 17, 2017, 09:56:22 PM
 #1215

Gparted would be cool. Because I tried to install few things it didn't work for me. Not enough space. I couldn't install Gparted... Would be nice for the next image. Also if you could add solo mining options would be great. That you could connect to one instance server what ever. Maybe for few coins not all at the time. Think it's a lot of work.

Cheers

GParted Partition Editor is already included in the build mate! Use the top left button to search and start typing GPAR ...it's there. Trust me. nv0018 build has it at least.

Thanks,
-Hatch -= http://UbuMiner.com =-
i0n
Newbie
*
Offline

Activity: 3
Merit: 0


View Profile
July 18, 2017, 12:37:17 AM
 #1216

Where is the changelog for v18?
dbolivar
Member
**
Offline

Activity: 119
Merit: 10


View Profile
July 18, 2017, 05:24:09 AM
 #1217

I'm planning to experiment with Salfter's NiceHash switcher, but by reading the relevant code in 1bash and switch, it seems that the individual OC settings (per card) defined in 1bash won't be used at all - only the ones set per coin, applied to all the cards. Since I have a mix of different cards, each one must take different core and mem OC values. I have an initial idea of the code changes needed, but before doing that, I'd like to check if there's another way to do that already implemented (which I missed), or something already being developed in that sense.

Thanks!
Deki1904
Sr. Member
****
Offline

Activity: 490
Merit: 250


View Profile
July 18, 2017, 06:38:30 AM
 #1218

Oh Sorry, didn't realize that they are integreated. Anyhow i like your work Keep going Smiley
When i have Mined enough Coins i will send you a Little Tip. Actually im Mining DeepOnion Coins...

Cheers

Gparted would be cool. Because I tried to install few things it didn't work for me. Not enough space. I couldn't install Gparted... Would be nice for the next image. Also if you could add solo mining options would be great. That you could connect to one instance server what ever. Maybe for few coins not all at the time. Think it's a lot of work.

Cheers

GParted Partition Editor is already included in the build mate! Use the top left button to search and start typing GPAR ...it's there. Trust me. nv0018 build has it at least.

hatch789 is right; gparted has been installed since ~ v0015.
damNmad
Full Member
***
Offline

Activity: 378
Merit: 104


nvOC forever


View Profile
July 18, 2017, 07:44:05 AM
 #1219

Where is the changelog for v18?

Go to the first page of this post and you can find change log for every release.

You are welcome.

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
BaliMiner
Newbie
*
Offline

Activity: 4
Merit: 0


View Profile
July 18, 2017, 07:49:07 AM
 #1220

Hi All,
i made a telegram script to report hash rates and other stats using telegram bot, the stats consists of power draw, temperature and fan speed on my little mining rig.

the code below, i got the command from older posts, currently the hash rates obtained from claymore or other miner that supports web-api, this script only works for claymore, can be modified if you are using ewbf, other stats is miner agnostic obtained from nvidia-smi
 
Code:
#!/bin/bash
# Telegram Info Script
# By BaliMiner et al...
# for nvOC by fullzero
# ref: http://bernaerts.dyndns.org/linux/75-debian/351-debian-send-telegram-notification
#
CHATID=<your-chat-id>
APIKEY=<your-bot-token-api-key>
CURRENTHASH=`/usr/bin/curl -s http://localhost:3333 | sed '/Total/!d; /Speed/!d;' | awk '{print $6}' | awk 'NR == 3'`
TEMP=$(/usr/bin/nvidia-smi --query-gpu=temperature.gpu --format=csv)
PD=$(/usr/bin/nvidia-smi --query-gpu=power.draw --format=csv)
FAN=$(/usr/bin/nvidia-smi --query-gpu=fan.speed --format=csv)
LF=$'\n'
PROFIT=$(cat /home/m1/current-profit)
MSG="Current Hashrate = "$CURRENTHASH" "$TEMP$LF$PD

/usr/bin/curl -s -X POST --output /dev/null https://api.telegram.org/bot${APIKEY}/sendMessage -d "text=${MSG}" -d chat_id=${CHATID}

put the script on crontab and specify how often you wanted the report ex: 5 mins, then put this on your crontab
Code:
*/5 * * * * /home/m1/telegram-info
dont forget to chmod 700 on the script to make it executable

Hope this script helps...
any suggestion is appreciated Smiley
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 352 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!