Portal Home > Knowledgebase > Articles Database > Scheduled Consecutive shell commands or as cron job


Scheduled Consecutive shell commands or as cron job




Posted by Shin Asuka, 10-09-2007, 10:49 PM
Hi, Is it possible to schedule consecutive shell commands to be run at a given time or every particular period (like every hour)? This is important for me as I want to schedule to run particular program and then input the following commands afterwards to do and complete the task, all automatically within the specified schedule. One example would be connecting to an FTP. First you'd need to input the ftp command to run the ftp program, then following that, input another commands consecutively within that session (the ftp program) to do and complete the task. I'm running KDE on CentOs4 btw. Is it even possible to do this on cron jobs?? Thanks!

Posted by foobic, 10-09-2007, 11:23 PM
Welcome to bash shell scripting



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Windows Cloud Hosting (Views: 456)