Cron in Solaris


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cron in Solaris
# 1  
Old 08-05-2004
Cron in Solaris

Hi,
Im just begining in UNIX and i want to know how to create a CRON schedule to take a file, compact it and copy it by ftp to other computer running Linux.


Thanks alot folks!


Macakongs2099
# 2  
Old 08-09-2004
Read the man page for crontab [ $ man crontab ] - it will show you how to schedule/set up a cron job.

As far as doing the compression and ftp, you need to write a script in your favorite shell - also, use the search function on this web site to find other posts that have already done this (see the Answers to Frequently Asked Questions forum where Perderabo's automated ftp is located.
# 3  
Old 08-10-2004
Click this link i found it the other day, makes the line for you to put in your crontab by just clicking when you want the process to run
>> Crontab Maker

hope this helps

Mark
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Not able to start cron service in Solaris 10

Hi, This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies

2. UNIX for Dummies Questions & Answers

Cannot save edit on cron on Solaris 10

Hi Everyone, I have edited my cron using 'crontab -e'. When I try to save the changes using ':wq!' The file closes but the changes are not saved. I get the following messages: "/tmp/crontabJFainH" 45 lines, 2996 characters trail.log crontab: error on previous line; unexpected character found... (11 Replies)
Discussion started by: Scarlet
11 Replies

3. Shell Programming and Scripting

Cron not inherting the environment in solaris 2.5.1

Solaris 2.5.1 I have written a shell script that creates a tar file and then ftp's the file to an other box. The shell script perfectly executes when run manually through terminal. But when i schedule it through cron, its not executing and showing exit code RC =1 in cron log. I have added the... (3 Replies)
Discussion started by: venu
3 Replies

4. UNIX for Dummies Questions & Answers

Solaris cron and cd

I have a (stupid) question about cron. If 'cd' is used in cron script, do we have to 'cd' back to 'starting' dir at the end of script (for other scripts and programs to work)? (1 Reply)
Discussion started by: orange47
1 Replies

5. UNIX for Dummies Questions & Answers

Script not running through cron on solaris 5.8

Hi All, I am running a script thorugh cron which is given below. this script is not doing its defined job through cron ,files are still in unzipped state. But when i run this script as ./script.sh it gets executed fine and does all that is required. also when i run thi script as sh... (2 Replies)
Discussion started by: Jcpratap
2 Replies

6. Shell Programming and Scripting

Cron on Solaris not editing.

I am working on Solaris machine. I have to add a cron for some operation, nut in SSH terminal crontab -l shows all related crons, but crontab -e instead of opening vi editor shows some number. Could any body tell what can be issue? (16 Replies)
Discussion started by: nixhead
16 Replies

7. Solaris

Cron audit problem in Solaris 8

cron audit problem. job failed I’m getting problem with crontab in Solaris 8 Crontab stop and is not running for all the cron jobs under cat /var/cron/log > CMD: /var/sh/go.sh > root 24835 c Sun Sep 26 08:06:00 2010 < root 24835 c Sun Sep 26 08:06:00 2010 rc=1 ! cron audit problem.... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

8. Solaris

cron / crontab issues - solaris 10

I am having some issues with my cronjobs not running in solaris 10. Cron is running: ~> ps -ef | grep cron root 202 1 0 Jul 18 ? 0:01 /usr/sbin/cron bender 1646 1562 0 01:57:49 syscon 0:00 grep cron crontab -l lists the cronjob and I *think* its in the... (8 Replies)
Discussion started by: ippy98
8 Replies

9. Solaris

Solaris 10 cron question

I have a script that needs to install a script the runs just before cron starts. Currently (for 9 and older), it simply finds the name of the cron script in /etc/rc?.d, decrements the number and creates a link. For example, if cron starts with /etc/rc2.d/S75cron, the install script extracts the... (3 Replies)
Discussion started by: BOFH
3 Replies

10. UNIX for Dummies Questions & Answers

time zone and cron solaris 9

There is a posting similar to this but it does not list what resolved the issue. When I log into the server, it shows the correct timezone (edt) but when jobs run from cron, it shows GMT. Unix admin is looking for a solution. I am looking for a short term workaround to get the jobs... (2 Replies)
Discussion started by: MizzGail
2 Replies
Login or Register to Ask a Question