Questions tagged [The task schedulers] (1)

1
answer

How to run Python script in task scheduler?

Hi everybody! I have a simple script that parse the. XLSX file and generates some CSV using the library openepyxl. I made it into a. EXE file using the pyinstaller to run on a machine where no Python, using the task scheduler. Problem: if you run the. exe file or script by hand, everything works fine. If you run the same ...
Freddy_Ratke asked April 19th 20 at 12:20
1
answer

How to fix the error when you run the script with cron?

Additional informationFile upload.ts contains console.log(process.argv); Consider a few situations: 1. When you run the script while in the directory root/ team ts-node /root/autoinst/instAPI/bot/upload.ts The script starts but fails with error Cannot find name 'process'. Do you need to install type definitions for node?...
Justine.Simon asked April 19th 20 at 12:19
3
answers

How to run a script via cron?

If points like this in cron: /var/www/script/test.php the script is not run well, or not doing his job. And if you do this: wget http ........ It works! The second way to run is not entirely correct as I understand it? The question is simple: How can I run the script without wget?
cordie asked April 19th 20 at 12:17
3
answers

Why and what files are created due to cron?

I have cRON on mysql.php file. Kron performs curl requests and concludes. Question: Why are files mysql.php.1,2,3,4,5,xxx they weigh 0, but since the files are very much open root is about 5 minutes.
eli.Kunde asked April 19th 20 at 12:14
1
answer

Why in crontab does not run the shell script?

There is a script: #!/bin/bash CHECK='server-release is not running ... failed!' #test string STATUS=$(/home/user/server/server/build.sh status) #write the status of the server in a variable if [ "$CHECK" == "$STATUS" ] then echo "server is stopped" rm-f /home/user/server/server/server.pid /home/user/server/server/build...
Kaya asked April 19th 20 at 12:09
6
answers

As not to allow the script to run if another copy is already running?

I wrote a Python script that searches a specific folder for CSV files and if it finds them, produces over the data some transformation and then loads it into MySQL where I can get the data in BI and to work with them. Now I want to automate the process and refined the script to add it to crontab to just throwing the files ...
bonnie82 asked April 18th 20 at 13:34
4
answers

How to automate cleanup of the TEMP folders?

Hi habrovany! Tried to automate the cleaning of the TEMP folders for the user from one site. In this article: https://remontcompa.ru/windows/windows-10/179-papk... — tried to set the cleaning TEMP folders before the logoff command in the "local group policy Editor". But, if you logoff (reboot or shutdown), all the deskto...
glenda.Hand89 asked April 18th 20 at 13:30
1
answer

How to run cron job at random time?

You need to run the nodejs script the script every two hours from 6 to 21 hours at random time. I found a possible solution, but I don't know how to change it for my case
Eleanora.Rempel asked April 18th 20 at 13:07
2
answers

Why crowns?

crontab-e */1 * * * * /usr/local/bin/php -f /var/www/html/local/php_interface/cron_events.php */1 * * * * /usr/local/bin/php-f "123" >> /var/www/html/log2.txt the first task is not running and the second running. Sin that entered the wrong path intepretation (calculated with the command "which" in the console). if I...
abdul.Howell asked April 18th 20 at 12:27
2
answers

How to determine that the time is up?

Hello. Guys tell me how to learn script, about what time to check the order over and it is accepted automatically by the system, as implemented on Quirke when I ordered the service, the person that turned her in, and given time for example 3 days to the customer is checked and confirmed, if the customer does not accept, the...
vivienne_Predovic asked April 16th 20 at 10:19