menu

Recent questions tagged schedulers

1 vote
5 answers
How do I change the crontab correctly? Good day. It is necessary to replace the Cron. Root. If you try to replace the file /var/spool/cron/crontabs/root - the cron stops working. It is clear that you can s ...
by Drno
asked Sep 22, 2021
2 votes
1 answer
How do I end the script correctly? Good afternoon. There is a script to start the player, at startup. It is stored in the crontab of the user root (as it should be) It works, everything is good, but natu ...
by Drno
asked Sep 22, 2021
1 vote
2 answers
Is it necessary that information about a failed launch through the crontab of any task is sent to a certain email? There is a php script /home/clients/test_ftp0/domains/ example.com/html/sendEmail.php . To it is set 00 9,15 1,3,5 wget example.com/sendEmail.php . How can I ma ...
by Mortech
asked Sep 20, 2021
1 vote
2 answers
It doesn't work, why not? Entered a schedule to send a message every 10 minutes, but for some reason it only sends once and crashes. What's the reason? Here's the code: import scheduleimport ti ...
by defild
asked Sep 20, 2021
4 votes
1 answer
How does crontab work? I have two questions. Is it possible to put a cron for 1 minute and check whether there is a task for the script, in the database and if there is to execute it, and this ...
by Timon1221
asked Apr 1, 2021
1 vote
1 answer
How often do I run such a script using cron (PHP)? Good day to all. The problem is that the user opens a "deposit" and needs to give the user a bonus exactly one week later. How to implement it better? I store in a DB ge ...
by gomerIT
asked Mar 26, 2021
1 vote
1 answer
Why did the crown break after connecting the vendor and use? Can you tell me why after connecting the vendor and use the crown broke? I mean, it stopped working. Namely after adding these lines: require '/var/www/project/vendor/a ...
by vladislav997
asked Mar 25, 2021
1 vote
1 answer
How to schedule with schedule? I have a json file with schedule numerator-denominator and there keys - time. So I need to get one week schedule by Numerator, the next by Denominator. It is desirable t ...
by savickii2002
asked Mar 25, 2021
1 vote
1 answer
image
Why does cron accept a simple PHP script, but not a more complex one? Can you tell me why cron accepts a simple PHP script, but not a little more complicated one? crontab -e: php /var/www/project/includes/mail/cron.php It does ...
by vladislav997
asked Mar 23, 2021
1 vote
1 answer
Why does cron not run a bash script? I have a bash script that every few minutes edits a text file and if I run the script manually then - everything works correctly, but for some reason in thecrontab -e at ...
by MarkTanashchuk
asked Mar 23, 2021
1 vote
2 answers
Running a service restart script using the job scheduler? Hello, found myself in a difficult position. I have Windows 7 machines that connect via OPEN VPN, the gateway has Fail Over, if the first operator goes down, Mikrotik wi ...
3 votes
1 answer
Why does bash not show a variable inside echo when starting from under Cron? There is a script #!/bin/bash RESULT=$(/usr/local/bin/wp core verify-checksums --allow-root --path=/var/www/web/)IS_OK=${RESULT:0:7}if "$IS_OK" == "Success" ; then ...
by kovalr
asked Mar 21, 2021
1 vote
2 answers
How to solve the problem with the screen orientation of the Lenovo Ideapad D330-10IGM under Ubuntu 20.04 LTS? Device: Lenovo Ideapad D330-10IGM OS: Ubuntu 20.04 LTS (the problem was also present in version 19.10) Degree of familiarity with Linux: Two semesters at the Hochschule ...
by zerokana
asked Mar 21, 2021
1 vote
1 answer
How do I start a cron task in cpanel? Hello, created a working action in the controller. Located in the folder consolecontrollers UserController.php. How to configure the launch of this task through cpanel ( ...
by lzy
asked Mar 21, 2021
1 vote
1 answer
Why doesn't the script work on Krona? Hi all) Don't judge, found a lot of questions like this, but never found an answer. I made a script in PHP in Bitrix, which bypasses the infoblock and when an item appe ...
by barder
asked Mar 20, 2021
2 votes
1 answer
How does the systemd timer work? I am dealing with the systemd timer, and there is a problem - the timer does not work as it should. 1) TriedOnCalendar=hourly , restarted, butsystemctl status myscript.t ...
by Inspector-Due
asked Mar 20, 2021
1 vote
1 answer
How do I find out who is yanking the script? Accidentally noticed that in the home folder is a file test, which weighs a lot. I deleted it. It still appears every 2-3 minutes, and in it is written a string with th ...
by flapflapjack
asked Mar 13, 2021
0 votes
1 answer
How to implement an hourly withdrawal of the user's balance? The site has a table of users with fields: username, password, balance, etc. Users has a linked table service containing service_name, tarif, status, updated_at, etc. If ...
by energimass
asked Mar 13, 2021
2 votes
3 answers
Why does the command not work in the cron? Good afternoon. I have ubuntu 20.04, in the root crontab (sudo crontab -e) added : @reboot echo 60 > /sys/class/power_supply/BAT0/charge_control_end_threshold On rebo ...
by m5xim
asked Mar 13, 2021
1 vote
1 answer
Openserver scheduler wrong path to php script? Hello all, trying to deal with the scheduler openserver but in vain, before I worked with it and everything was fine, but now I set up a task in the manual openserver, t ...
by Pavel568
asked Mar 8, 2021