cron

How can we set the cron setting in Godaddy?

How can we set the cron setting in Godaddy? ...

Why is this cron entry executed twice?

*/5 * * * * my command This entry works but every 5 minutes it get executed twice, why? In /var/log/cron it shows: Jun 16 22:20:01 Test CROND[12512]: (root) CMD (my command) Jun 16 22:20:01 Test CROND[12516]: (root) CMD (my command) So it's not from two uers. It is only entered once with crontab -e -u root The command is a php command...

javan-whenever not writing crontab with Capistrano deploy

I’ve been trying to get whenever running on an ec2 instance that was created with ec2 on rails. When I deploy with Capistrano it indicates that the crontab was written, but when I log into the server and run crontab -l it does not seem to have been changed. If I go into the release folder and manually run whenever --write-crontab then...

Alternative for Windows Task Scheduler

hi, I need a Task Scheduler for Windows. Unfortunately the builtin scheduler doesn't meet my needs, which are: can run tasks every minute/hour runs on Linux and Windows 32 and 64 bit versions GUI interface free Nice to haves: supports CRON files open source status reports of execution times thanks! ...

how to trigger a function on defined date

hi i am doing a project where i need to notify a user through email if his account has expired, that is when a user signsup his sign up date and expire date is inserted into the database now what i need to do is , i need to fire a function when the users expire date is passed and send an email notifying user about the expiration of ...

Google App Engine - Task Queues vs Cron Jobs

The latest Google App Engine release supports a new Task Queue API in Python. I was comparing the capabilities of this API vs the already existing Cron service. For background jobs that are not user-initiated, such as grabbing an RSS feed and parsing it on a daily interval. Can and should the Task Queue API be used for non-user initia...

How to get a unix script to run every 15 seconds?

I've seen a few solutions, including watch and simply running a looping (and sleeping) script in the background, but nothing has been ideal. I have a script that needs to run every 15 seconds, and since cron won't support seconds, I'm left to figuring out something else. What's the most robust and efficient way to run a script every 15...

To use sleep() or cron job

Hey! I have this mail script I have to run a few times. To start the script I will use cron, but the script has to run 2 or 3 more times (with an hour apart). What's the best way to do this? To use the sleep command for an hour, or at the end of the script, place some code, so that the script will create a new cron job to run it self...

cron jobs to upload a file via FTP

Is it possible to use CRON to upload a file via FTP? If yes how can I call FTP to run an upload? ...

How to set a file in cron job

I need to run a php file every minute so I tried to set a cronjob from the cpanel but it's sending mail with the message "could not open the input file:" My php file is inside public_html/schoolerp/cron.php I did: /usr/local/bin/php -f /public_html/schoolerp/cron.php Am I doing something wrong please tell me if I am setting it right...

Rails cron with whenever, setting the environment

This question will probably only make sense if you know about the whenever gem for creating cron jobs. I have a task in my schedule.rb like every 1.day, :at => '4am' do command "cd #{RAILS_ROOT} && rake thinking_sphinx:stop RAILS_ENV=#{RAILS_ENV}" command "cd #{RAILS_ROOT} && rake thinking_sphinx:index RAILS_ENV=#{RAILS_ENV}" com...

Setting up a cron job in cPanel to execute every 12 hrs and 20 mins

How to set a cron job (in cPanel's Standard Cron manager) to run every 12 hours and 20 mins? Say I want it to start at 5 AM. So the next run would be 5:20 PM, 5:40 AM, 6:00 PM, and so on. Any idea? ...

cronjobs, how to use it in cpanel

Hello, I want to execute a script every 30mins, but i want to use it through cron as it is my personal script which emails me updates from various sites depending on configurations. So what should i write in Command to run in cpanel to execute my script with name check.php ...

CakePHP Console via Cron Question

I'm using the CakePHP Console to download files from we and processed in a database. I'm running the console from inside the "app" directory. But when I'm trying to run the console outside app and by just setting the "-app" parameter for my cron job, it doesn't work. To be honest, I've had no success using -app parameter. It's like it'...

Implementing cronjobs in architecture?

Hi, we have a modularized website built on the MVC pattern. We would like to create cronjob scripts which execute every 1, 15, 60 minutes and which execute daily. We -need- the cronjobs (to make sure nobody starts asking if we really need them). Actions include finishing up orders for process every 15 minutes and accepting new user re...

Cron job syntax on Google App Engine

Hello I am trying to schedule a job to run "every 15 minutes on weekdays only" using the Google App Engine cron scheduler (for Java apps). http://code.google.com/appengine/docs/java/config/cron.html#The_Schedule_Format Does any know what the correct syntax is? I have tried using the xml below, but find that it runs on all days not just t...

How to disable Firefox add-ons update check on start

I have a problem and I hope you have the answer. Here it is: I start Firefox (Linux) via command line using a cron-job. When there is no update for the add-ons, it start up normally, then I can tell it what to do. However if there is an update for an add-on, then it ask whether to take that update or not. I don't have the ability to de...

How can I tell if my script is being run from a cronjob or from the command line?

I have a script and it's display show's upload progress by writing to the same console line. When the script is run from a cron job, rather than writing to a single line, I get many lines: *** E0710091001.DAT *** [0.67%] *** E0710091001.DAT *** [1.33%] *** E0710091001.DAT *** [2.00%] *** E0710091001.DAT *** [2.66%] *...

Does main.py or app.yaml determine the URL used by the App Engine cron task in this example?

In this sample code the URL of the app seems to be determined by this line within the app: application = webapp.WSGIApplication([('/mailjob', MailJob)], debug=True) but also by this line within the app handler of app.yaml: - url: /.* script: main.py However, the URL of the cron task is set by this line: url: /tasks/summary So ...

CRONTAB for mobiles

Hi there, I was just wondering, but some one might have already thought off! Is it possible to built a crontab type application for mobile phones (for Java enabled phones)? I am thinking of an application, which, does checks at scheduled timings and on certain cases acts without manual intervention. Have any one built such an applicat...