Questions tagged [Cron] (493)

3
answers

Heavy scripts and ruby on rails?

In rails an absolute beginner. Write website. The list of articles. Then write a script of type grabber new articles or indexer. As it is better to write? Now this is a script for ruby that runs from the crown and runs on the half hour. It is theoretically not correct. I want to use a model of rails validators to automatic...
Guillermo.Nolan asked October 10th 19 at 08:13
4
answers

Problem with bash script

There is a bash script that should be run for the crown. The process gets its pid file (pid=` If the script '<'replace /bin/cat, and reversed it starts to run good. In crontab SHELL=/bin/bash Already the whole head broke. Need help. Thanks in advance.
Amara_Rutherford20 asked October 9th 19 at 23:19
1
answer

How to catch the log Exim mail cron ohms?

The problem is that when I started Exim in the mode: exim -bd -d+all >& /var/log/exim-debug.log it is not found in the log, no hint of the tons of emails sent to me cron ohms. Mere mortals do not need it, but I have one interesting problem, the solution of which lacks only this. The publication is being prepared. Th...
caroline.Steuber71 asked October 9th 19 at 16:23
2
answers

Quartz cron expression to specify the start and end of execution?

Good day... Require Java to run tasks that would be performed according to a schedule in a certain interval, I tried to do this a library of quartz using Cron Expressions, but they are not suitable for all cases... for Example, you want every day to run the task from 18.20 to 22.50 every 5 minutes... Please advise or librar...
yesenia70 asked October 8th 19 at 06:51
2
answers

Make crontab to write messages to the console of FreeBSD?

Actually not even a question, and the answer. Can someone come in handy. Well, because to write it in posts stupid, leave it in q&a. The task is actually in the header. Killing in the search for solutions the whole evening, searched the Internet, I found only this: echo "hello">/dev/tty1 Where tty1 is your console. B...
Liliane_Christians asked October 8th 19 at 04:19
5
answers

Sending packages SMS: run a php script every 5-10 seconds

For internal service decided to attach the sending of SMS: according to a rough estimate, they will be accumulated and sent in batches of 100-200 pieces in a 2-3 hour http requests to the SMS gateway. To simplify the scheme share directly the formulation of messages in a queue (mysql database), sending them in the backgrou...
nyah_Metz asked October 8th 19 at 02:05
3
answers

How to make crontab to run every other Monday?

Option0 0 * * 1/2 works in Ubuntu but not in CentOS
Garrison_Wisoky asked October 7th 19 at 15:22
2
answers

Strange behaviour of Cron, what's the problem?

Good morning! There is a small script that checks the connection and if not then raises an ADSL interface#!/bin/sh#The script pings ya.ru if ping is not that podymaetsja backup channel on the ADSL/bin/ping -c 2 ya.ru.if [ $? -ne 0 ]; then.#if not running then perform the action/sbin/ifup dsl1/bin/echo the breakage of the co...
Domenica_Becker asked October 7th 19 at 14:43
1
answer

How to make script run on a schedule on Windows Azure WebSites?

Hello! Anyone have experience in solving tasks — script run on a schedule on Windows Azure WebSites? Prompt how better to implement it? What are the options: — a library Quartz.NET — there is such an opportunity to implement on cloud services — better, because the launch will be in another instance More interested in t...
alva_Howe asked October 3rd 19 at 20:17
1
answer

The player with the ability to work according to the schedule

Good, it took a player (standalone or software for Android, pc/laptop not suitable), that can play mp3's on the schedule. Say 10:00 launched a playlist, at 12:00 pause 17:00 resume play at 21:00 stop... Than richer functionality, the better.
Steve47 asked October 3rd 19 at 18:54