Click here to Skip to main content
16,020,990 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear All,

I have one exe scheduled that pull records from one sql server to oracle database. This works fine in Windows server environment.

I have to schedule same exe in Linux based environment. Can you please guide me how to create a windows scheduler like function in Linux.
Posted
Updated 25-Mar-16 9:04am

Try cron or at, there are a lot of tips on Google[^].
 
Share this answer
 
Comments
CPallini 13-Sep-15 16:17pm    
5
You should use cron -e


Crontab Fields and Allowed Ranges (Linux Crontab Syntax)
Field Description Allowed Value
MIN Minute field 0 to 59
HOUR Hour field 0 to 23
DOM Day of Month 1-31
MON Month field 1-12
DOW Day Of Week 0-6
CMD Command Any command to be executed.


example
30 08 10 06 * /home/ramesh/full-backup
 
Share this answer
 
Comments
CPallini 13-Sep-15 16:18pm    
5
write a shell script with executable permission. With this file crontab to be added for the particular task for particular time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900