» Home » cron » Page 1
Redhat openshift - Cron Runtime - Is there a default time for how long cron executes
by Schmidt in Web Design

Cron on Redhat openshift is cancelled by SIGTERM after some minutes.

Is there a default timeout on how long cron tasks can execute?
If yes, how to get long running tasks working?

Quartz cron expression for cron triggers executed every Nth Hour/Day/Week/Month
by Luxembourg in Web Design

I am developing an application that gives the user the ability to schedule some activity.
Inputs that are provided by user are

Value of N
Option amongst Hour/Day/Week/Month
Start Date
Start Time

I am unable to get the cron expressions right for each of the repeat interval type i.e. Hour/Day/Week/Month so that the trigger time is calculated from the start dat

cron and wget: how to prevent cron from cluttering syslog with “grandchild failed” messages?
by socurious in Programming Languages

This is a huge annoyance.
Whilst in older wget versions (even stated so in the man page) the whole error code functionality had never worked reliably, current wget versions have it working TOO reliable.

I have a cronjob that could be called a sort of "poor man's RSS". It's for a blog that has no RSS option so I'd just poll it every 15 minutes for new pages to come.
(so it'

How to check and kill cron job if particular cron running using shell script
by christiandsg in Network & Servers

I have two cron jobs for importing image process into Database and scheduled that cron runs per two days once at server time 1 hour 2min. I need to check if the cron runs or not using shell script and kill that cron if the runs that cron already or after two days. Can you anybody guide me?


2 1 */2 * * cd /var/www/railsapp/book_app_v2 && /usr/local/b

Cron bash script leaves cron [defunct] lingering
by git in Operating Systems

I'm running the below script with cron, in /etc/cron.d/mycron I have the following:

*/10 * * * * MyUserThatNeedsToRunTheScript /backup/sshconnect.sh

However, looking at ps -aux I find that a few [defunct] processes are lingering, any ideas? Does this have to with SSH being run with -f ?

5 0 1598 641 20 0 2552 1068 pipe_w S ?

How do you perform Cron job if your hosting does not provide a cron job control panel?
by rbonestell in Programming Languages

I am using PHP for my application. I have a demo site and need to clean database regularly. I thought it can be done with a cronjob.

However my hosting does not provide a cron job cotroll panel.

What is the best way to perform cron job?

How do you perform it if your hosting does not provide a cronjob control panel?

Thanks in advance.

CRON - PHP - file_get_contents to run PHP page and email with CRON
by Kubla Khan in PHP

I am trying to setup an end-of-day automated email using a CRON job.

I can get the CRON job to send out a static email, however I am having trouble when trying to use file_get_contents and a php page that then uses mysql queries to get the data from a database and builds the email body.

Need help!
*NOTE- I use a special php mailer for SMTP. This mailer works 100% FI

How to set php cron job?
by digiram in PHP

I am using windows server 2003.

I set a cron job, open IE explorer and run cron.php file.

Basically, what the cron.php does is just send email to my own email address. I set it run every 2 minutes and run for 2 hours. I start the cron services, and I received the first email, but after that, I waited few hours, I am still didn't receive the second email. Anyone can help

TAGS : cron

cron + jar + inner jar
by Edo in Programming Languages

Provided a .jar file which includes inner jar files (libraries), how to make it work from cron knowing that the latter requires absolute paths ..etc
Here's the script file called from cron

export PATH=$PATH:/usr/bin:/usr/sbin:/usr/local/jdk:/usr/local/jdk/bin:/home/me/bin
export CLASSPATH=$CLASSPATH:/home/me/bin/myapp.jar
/usr/local/jdk/bin/java -jar
TAGS : cron inner

cron after every 15 sec
by YBS1 in Programming Languages

I cannot set cron time to less than 1 minute even on my dedicated server.
I need it to run every 15 seconds because it calls betfair api and calculations are highly time dependent.
Please advise.

TAGS : cron after every

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .