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
-2
votes
1 answer

How do I write a cron job script for verified act emails & lost passwords timer?

How do I write a cron for verified act emails & lost passwords timer? I'm using apache on Linux server with mysql database and php code. In the database, besides the usual fields for an account, I have verified (a boolean that is 1 for yes and 0…
Bob Todd
  • 39
  • 1
  • 1
  • 6
-2
votes
1 answer

Perl & Linux? : Make a log reader script run daily and weekly (automatic)

We have a Log reader script, for example: use strict; use warnings; my $location = "file.txt"; open LOGFILE, $location; my $first_line = 1; my $max_id; while () { if (/item_id:(\d)+/) { if ($first_line) { …
ado
  • 1,451
  • 3
  • 17
  • 27
-3
votes
1 answer

set cron job for every 45 day to execute my php script using cron?

I need to run my cron after every 45 days in single line of shell terminal. Please provide some solution for the same Thanks
sachin sawant
  • 231
  • 1
  • 2
  • 3
-3
votes
1 answer

Can any one tell cron expression value(ex: 0/15 * * * *) for scheduling job in pcf?

I want to run the job every 3hr 30min(Ex:1:00pm next 4:30pm next 8:00pm next 11.30pm so on...)
-3
votes
1 answer

How to continously monitor a new entry in table in mysql database and when a new entry being found it triger a batch file jst aftr tht using cron job

How to continuously monitor a new entry in table in MySQL database and when a new entry being found it triggers a batch file just after that using CRON job. I'm new to MySQL and CRONTAB.
nikhil
  • 3
  • 5
-3
votes
1 answer

job not working earlier now working

Ok. it is working now. Did the required modifications to the task and now it is working fine. Thanks for your help. Thanks
fastrunner
  • 21
  • 3
-3
votes
2 answers

BASH script to copy random directory contents to another location

The title pretty much says it all. What i am trying to accomplish is the following, I have 12 Directories each which will contain 12 files. I want to create a script that will run everyday at midnight, at that time it needs to randomly select one of…
Heinrich
  • 1
  • 1
-3
votes
1 answer

Job Salaries not paying out

My daily job salaries seems to not be paying out, it should be paying the user according to their current held job. Can someone help me? function update_salaries() { $salaries = array( '1' => array(5000, 1), '2' => array(10000,…
Firestar
  • 1
  • 4
-4
votes
1 answer

My PHP function works perfectly when browse manually but not working properly from cron

I'm developing a web based program and i have several cron jobs for this on my cPanel. Every one of them works perfectly from cron and manually except one. I'm using Codeigniter. The PHP function works perfectly when i run it manually via browser.…
Emre Çay
  • 1
  • 1
1 2 3
61
62