Sponsored Content
Full Discussion: CRON Jobs
Top Forums UNIX for Dummies Questions & Answers CRON Jobs Post 51717 by eludlow on Friday 28th of May 2004 03:29:45 PM
Old 05-28-2004
CRON Jobs

Hi,

I am a total newbie to all things Unix. I've worked out I need to set up something that will allow me to automatically backup a DB for me, the DB is for a foum system I run.

Now, I've only found out I need to use telnet for this, and worked out hwo to log into telnet today. From here I'm totally stuck, except I think the command will look somethign like this....

PHP Code:
15 02 * * * mysqldump --add-drop-table -u username -ppassword dbname backup_forum-$(date +%m%d%Y).sql 
Is this correct?

When I log into telnet, I get a variable [$] sign. How do I go about entering the CRON job from that?

Many thanks,
Ed Ludlow
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

cron jobs

I need to monitor my cron jobs with another unix machine since occasionally the cron will go down on the main server but there are no errors. Can anyone help with a script to write to use the cron on the back up machine to monitor the main server? I am using SCO and the cron jobs have been... (3 Replies)
Discussion started by: rmarral
3 Replies

2. Solaris

Cron Jobs

I'm trying to run cron jobs to start any inhibited processes after a system reboot. I can schedule th cron, but i'm confused as to how to incorporated the reboot, since reboot is scheduled at different times, once every month. How can I write this to start every 15 min after after a reboot ... (2 Replies)
Discussion started by: Remi
2 Replies

3. Solaris

cron jobs

how to Put a cron entry which should be same script triggered on every Saturday and 1st of every month at 01.00 GMT. 0 2 1 * 6 --( At 2.00 GMT every sat & on 1st of every month) the above syntax is correct? Thanks (1 Reply)
Discussion started by: kurva
1 Replies

4. UNIX for Dummies Questions & Answers

cron jobs

Hi, We have a group of hosts using which the cron jobs are submitted... Few days ago i had submitted a cron job in of these hosts, but unfortunately forgot the host name :( Can anyone please help me out in finding this host name from which the cron s submitting the job, i dont want the... (2 Replies)
Discussion started by: bhavanisree
2 Replies

5. Linux

Cron jobs

Hi, I am a Linux administrator (newbie) in my company. The distro being used in the servers here is Centos 5.3 Just need to know, as a Linux administrator is it better for me to use /etc/crontab to set my cron jobs. I do not want to use the crontab -e to schedule my cron jobs. That means... (1 Reply)
Discussion started by: anaigini45
1 Replies

6. Shell Programming and Scripting

Help with cron jobs

Hi Frenz, How do we get a cron job running in background to foreground ? (3 Replies)
Discussion started by: mkalase
3 Replies

7. Shell Programming and Scripting

cron jobs

Hi, please help on this am trying to exec the below mentioned cron jobs but its getting failed fro the past two days ###but when am trying to execte the cron by the times 23,29 18 * * * /export/home/inrvgo/thelak/China.sh its getting exec properly please help on this #... (8 Replies)
Discussion started by: thelakbe
8 Replies

8. Solaris

Cron jobs and at jobs

There are two jobs in Solaris , Cron and at jobs.. I know how to disable or enable cron jobs. How can I enable at jobs and disable it. Kindly help. Rj (2 Replies)
Discussion started by: jegaraman
2 Replies

9. Red Hat

Cron jobs

I'm running cronjobs on a redhat 5.X. Cronjobs are getting failed frequently so how to find the root cause (2 Replies)
Discussion started by: karthik9358
2 Replies

10. Shell Programming and Scripting

Cron Jobs

How to see which cron jobs are not running? (2 Replies)
Discussion started by: rahul.raj1989
2 Replies
nstrtel(5)							File Formats Manual							nstrtel(5)

NAME
nstrtel - specifies the number of telnet device files the kernel can support for incoming telnet sessions VALUES
Failsafe Default Allowed values (Subject to available physical memory.) It is best to use the default value, and there should not be any need to lower it. However, if the simultaneous telnet connection load is very high, then the value of could be increased. Recommended values (Default value.) DESCRIPTION
The telnet daemon uses two STREAMS-based pseudo-terminal drivers and The kernel parameter, can be used to tune the number of pseudo-termi- nals. specifies the number of kernel data structures that are created at system boot time that are required to support the device files used by incoming telnet sessions on a server. If the command or SAM is used to create more telnet device files, the value of must be increased accordingly or the device files cannot be used because there are no kernel data structures available for communicating with the system. Who Is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect at the next reboot. When Should the Value of This Tunable Be Raised? When there is an increase in the load of telnet connections and there are no device files available to open telnet connections, then this kernel parameter should be increased. When the error is encountered, then the device files have been exhausted and should be raised. Once the value of is raised, should be run to create new device files. (If SAM is used to raise the value of is run automatically.) What Are the Side Effects of Raising the Value of This Tunable? More resources would be consumed. Extra kernel data structures, and extra device files may clog the system. When Should the Value of This Tunable Be Lowered? It is not advisable to lower the tunable value from the default value. Consult HP Support before lowering this tunable from the default value. What Are the Side Effects of Lowering the Value of This Tunable? Though not recommended, there would not be any side effects. What Other Tunables Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
insf(1M), telnetd(1M), telm(7), tels(7). Tunable Kernel Parameters nstrtel(5)
All times are GMT -4. The time now is 10:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy