Questions tagged [cron-task]

cron-task is a task (command or shell script) executed periodically at certain times or dates by the cron scheduler.

Resources

925 questions
0
votes
2 answers

Is it possible to create a GAE cron job on a local GAE server?

This link says that GAE does not support cron jobs on the development server. So what are my other options? I need to send emails out to users when a deadline on their account is reached.
nbonbon
  • 1,660
  • 3
  • 18
  • 27
0
votes
1 answer

Cron job to location

I am trying to create a scheduled back up for my database, however on my hosting control panel it says: Run this command: then I have to type something in... I assumed this would be the link to the PHP script, so…
user2981188
0
votes
1 answer

Cron is not running in openhost

I set new cron in my openhost admin panel using curl http://www.example.net.nz/sendmail.php but its not working. and my cron setting is below. Please suggest me some idea what can i do so my cron is run properly. I also read this but there is not…
Jalpesh Patel
  • 3,150
  • 10
  • 44
  • 68
0
votes
1 answer

Cronjob every 9 hour

I want to run a script through linux cron which will run after 9 hour. For example: If current time is 00:34 and I start the cron now, then my shell script should run at 00:34 and then at 09:34 and at 18:34 and so on. For this I have entered the…
0
votes
1 answer

Make sure the php script can be only excecuted from command line (or as a cron job)

This is the code I'm using, is it enough to make sure the script can be only run as a cron job? It sure does work but maybe there is something I have missed. if (php_sapi_name() !== 'cli') { die("You are not allwod here"); }
user2878568
0
votes
0 answers

cron GAE service permisions

I have GAE application. I have CRON service. It fires www.example.appspot.com/cron/schedule servlet. PROBLEM: Everyone have access to this servlet. I dont want to have everyone access to this servlet. I need to fire that servlet only cron. In the…
grep
  • 5,465
  • 12
  • 60
  • 112
0
votes
0 answers

How to run a cron every 3h with an time interval?

I need to run a php task every 3h all the days from 08:00AM to 10:00PM Will this work ? 00 8-22/3 * * *
Marie_d
  • 341
  • 3
  • 5
0
votes
1 answer

php script that loads txt file/s and generates rss - cron?

I would like to make a script that gets lines from txt file and makes new rss feed item for every line. Txt file will be frequently updated with new lines of data, so the script should check every hour if there is a new line, and if there is, needs…
0
votes
2 answers

Rails move expensive method to task

I have these two methods in my model. One method looks up a single CatalogItem facebook like count, and another that loops through all active CatalogItems and finds their like counts using the aforementioned. It takes a while to run through all…
jahrichie
  • 1,215
  • 3
  • 17
  • 26
0
votes
1 answer

Delete posts with custom field date older than current date via cronjob

I want to make a cron job witch deletes all posts older than the date in a custom field of the post. I got following function within my functions.php My custom field name is bewerbungs_frist. function foobar_truncate_posts(){ global…
Benjamin
  • 121
  • 1
  • 3
  • 10
0
votes
1 answer

Ruby on rails: Whenever/cronjob doesn't worked

I wrote a cronjob but it won't start working even though I updated my schedule.rb. I used javan/whenever. I am using: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.3.0] When I crontab -l: # Begin Whenever generated tasks for:…
shoujo_sm
  • 3,173
  • 4
  • 37
  • 60
0
votes
2 answers

solution for scheduled uploads - cron job?

I'm trying to find the best solution for scheduling uploads to my server to specific directories. initially uploading the content pushing it live at the defined time I've heard cron job recommended, but I've no idea how to use such a thing. I'm…
questy
  • 517
  • 2
  • 4
  • 14
0
votes
1 answer

PHP- MySQL cronjob sending mail loop repeat

In one of my web application, I am sending daily mails to the users using a cron job function via AMAZON SES. The cronjob will run in the interval of 10 mins. The process will like $sql-mysql_query("SELECT * FROM users WHERE send_date='2013-07-13'…
ramesh
  • 4,008
  • 13
  • 72
  • 117
0
votes
1 answer

Crontab editing not working in Php script

I am creating dynamic cronjob using php script. cron job adding function is working fine for me. My script is given below.
Padmanathan J
  • 4,614
  • 5
  • 37
  • 75
0
votes
1 answer

How to setup a cron job in SQLyog

I want to create a scheduled job in SQLyog (or suggest me if any) that will run a SQL query every 30 minutes. I want to run the query - UPDATE `db`.`table` SET sessiontime = CEILING(sessiontime/6)*6 WHERE id>1000 Please help me to figure out…
W3Xperts
  • 1
  • 1