Questions tagged as 'cron'

1
answer

What happens to a Cronjob of 2:30 if the server falls at 2:28 and only come back 5 minutes later?

I do not know if the question is confusing, but it's that I've used a lot of Cronjob on my systems these days and I do not want to have problems. So I'll illustrate my concern with a hypothetical situation. Let's say I have a Cronjob programm...
asked by 02.05.2016 / 22:00
1
answer

Configure Cronjob to run every 5 minutes when it is between 5 to 20 hours

I need to make a setup so my cronjob works every 5 minutes. However, if the time of day is before 5 and greater than 20 I do not want it to run. That is, I want to make a cron that runs every 5 minutes, but only in...
asked by 20.04.2016 / 20:04
3
answers

How to create a task scheduler without using cron and without using wordpress

I need to create an automatic method to schedule my email marketing system, to trigger email automatically, without using the browser. Today my system is using cron, and every time I enable it on a server, I need to configure the url of the scri...
asked by 21.10.2015 / 21:28
3
answers

Can I POST a file automatically?

I'm using Cron to run a PHP script. I want to do a load upload test for my server and Cron takes charge of this (the server then sends it to the Amazon). I was thinking of using file-get-contents to upload files to the server but how...
asked by 30.10.2014 / 19:12
2
answers

How do I configure crontab to run URL, Linux ubuntu command

I have created 4 methods and want to execute them by accessing the link. I have already tested the methods and they are all working normally, but I have already tried several configurations for crontab -e . I've tried: 0 * * * * wget...
asked by 11.02.2016 / 03:54
3
answers

Bash - Mysql Backups

I set up the script below to perform backups of three Mysql databases. I wonder if it's correct. #VARIAVEIS DATE='date +%Y%m%d-%H%M' HOSTNAME1="xxxxx" HOSTNAME2="yyyyy" HOSTNAME3="zzzzz" USER='xyzedmar' PASSWORD='xyz2' DATABASE1='xxxxx' DATABA...
asked by 07.12.2015 / 22:51
1
answer

Automate tasks with Laravel 5

Good morning, people. I need to create some tasks on my system that run automatically (such as a Cron Job). Example: Every day the system sends an email to the customers of the system with the amount of their charges, and the ones that are cl...
asked by 09.03.2015 / 14:49
2
answers

What is the best way to monitor a value in a database?

I'm working on an item management system, in which I need to constantly monitor the quantity of items available. Upon reaching a pre-set minimum threshold, the system should issue the item into an alert list for it to be reset. What would be...
asked by 12.07.2017 / 03:42
1
answer

Schedule task linux (Cron)

How to open a file and shut down the computer with crontab? Here's my attempt: 30 07 * * * killall qbittorrent (funcionando) 50 07 * * * shutdown -r 1 "Desligando desktop" (não funciona) 30 12 * * * qbittorrent & (não funciona) 55 13 *...
asked by 12.02.2016 / 17:02
1
answer

How to run application on linux desktop remotely via command?

I have a server on a client where I use a remote application, sometimes some user goes there and closes the application (I do not know if I accidentally or the owner, for fear), then I can not connect. The application automatically starts whe...
asked by 18.06.2018 / 21:36