Questions tagged as 'script'

0
answers

Move files to a certain folder automatically

I have a backup routine in SQL that automatically generates backup of the databases in this folder: D:\Backup\Backup_SQL\Databases I created a bat (forfiles) that compacts these backup files and transfers them to another folder. The sc...
asked by 08.06.2015 / 19:31
1
answer

Output redirect to variable with blanks

I'm doing a script where I want to capture a path to the name of a user's file and then use it, plus the extension, to redirect the output of a command. example: Insert path: ~/Videos/file I do this using " read -e path ", and then...
asked by 06.09.2015 / 22:09
0
answers

Add line automatically

I wanted a sql script or excel function that runs the line and when I find "Out of Compliance" add me a new line Name Food from Approved Source (C) Food Protected from Contamination (C) 16 HANDLES Out of Compliance...
asked by 26.01.2015 / 02:29
1
answer

Zabbix and Telegram, send alerts via script

Hello, I have set up a script to send alerts to Telegram group / user, but I do not receive alerts. When I test the script it is sent normally. IconfiguredthescriptinZabbix,informingthesettingscorrectly.Whenthealertistriggered,Zabbixreturnsm...
asked by 27.04.2018 / 21:19
2
answers

Run .BAT in the background when Windows starts

How can I run this BAT script in the background or invisible or without a window? I added .bat to Startup , it shows the terminal running, but I do not want to show any window, I already used conversion tool from .bat to ....
asked by 29.08.2018 / 18:29
2
answers

Slow response (PHP MYSQL) [closed]

<?php require('DB.class.php'); //$conexao = mysql_connect('xxx.xxx.xxx.xxx','base_dados','utilizador'); //$db = mysql_select_db('base_dados',$conexao); $SQl_list = DB::getConn()->prepare("SELECT * FROM 'wpr3_posts' WHERE post_con...
asked by 02.05.2017 / 17:48
1
answer

.bat number generator

I need a .bat that generates random numbers with the 123 characters in different sequences type 123,321,213,312,231 preferably using a number of each other without being so 212. But if it only gives otherwise it can be! Can someone help me? I'm...
asked by 04.05.2018 / 22:08
1
answer

Delete "," in the first and last line of a CSV

I have a csv that is exported like this: +++ Host - Begin +++,, Name,Description test1,abc2 test2, abd3 +++ Host - End +++,, How do I get this result? +++ Host - Begin +++ Name,Description test1,abc2 test2, abd3 +++ Host - End +++     
asked by 25.10.2017 / 13:23
2
answers

Place a url inside option select

How to put a url inside a select's option? When the user selects the select option it would already redirect to url within the option. The way I tried the url is concatenated with the previous one and the link is broken.     
asked by 11.10.2016 / 16:01
3
answers

How not to run script on mobile devices. on Wordpress

How to make a script not run on wordpress, when someone is using a mobile device, tablet, or any mobile device. the script would be like this <script data-cfasync="false" type="text/javascript" src=""></script>     
asked by 17.09.2015 / 15:50