Questions about the crontab.

Mark-Nathaniel Weisman mweisman at gci.net
Sat Dec 22 11:23:57 PST 2001


-----BEGIN PGP SIGNED MESSAGE-----

How do you exit the crontab once you've made your changes.

Thank you,
Mark-Nathaniel Weisman A+, MCP, CNA, MOUS MI
Network Systems Administrator
Career Academy
Anchorage, AK



- -----Original Message-----
From: LINUX-owner at u.washington.edu
[mailto:LINUX-owner at u.washington.edu] On Behalf Of C. Mills
Sent: Saturday, December 22, 2001 12:17 AM
To: UW Linux Group
Subject: Re: Questions about the crontab.


If your root you can just put this in /etc/crontab
# m h dom mon dow user command
*/10 * * * * root /path/script.pl
Make sure you have
#!/usr/bin/perl
or whatever on the first line of your perl script.
If you don't have root access you can make your own crontab, see man
crontab If you run "crontab -e" you can put that line in your own
crontab. Charlie

On Fri, 21 Dec 2001, Mark-Nathaniel Weisman wrote:


> -----BEGIN PGP SIGNED MESSAGE-----

>

> Mike,

> Don't mean to bother you, but I've got a question regarding the

> crontab. I've done a little reading and I'm hoping you can make

> sense of editing the crontab with pico. I want to add a function

> that will fire a .pl script every 10 minutes. Would you be so kind

> as to

> demonstrate the steps to do this. Right now I just moved the .cgi

> script into the /etc/cron.hourly directory and left it at that.

> Unsure of what to do from here. Help, please. I'd greatly

> appreciate it.

>

> Thank you,

> Mark-Nathaniel Weisman A+, MCP, CNA, MOUS MI

> Network Systems Administrator

> Career Academy

> Anchorage, AK

>

>

>

> -----BEGIN PGP SIGNATURE-----

> Version: PGPfreeware 6.5.8 for non-commercial use

> <http://www.pgp.com>

>

> iQEVAwUBPCQ6m8dDd3XswOzXAQGINQf/QZKsxNmmV2lthEV1koiiCD1QYFUg6FiY

> UB36iM2hfFhF60u0/dEVid/zij652A7DrxoOtT4gggDwv4h4MQjtYa646JL81P72

> ftaocCgKbEQNS1A23hKPUh4ISXh6q4Vdo4zdnjFmLQtwXco6d0NUJVY5TwLhvH0E

> XOFjPbBDalu0d9RSjQ3BExG0k8cbX53U35mzvau87cwqi6LbUVk/P0g3DnNTFriF

> qhQwIGdCkJ1QjOxQSd2Lw4Ol/cGlD4dw+kEjRoBpvySYLNpDK4Aytqb7K12kn/lw

> 6HQO2elffWAnmJiRjHKWOlvh8ILv3VDmlFhh9+hIz0tbs2g7mOYmew==

> =UKSV

> -----END PGP SIGNATURE-----

>

>

>



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQEVAwUBPCTdzMdDd3XswOzXAQHM/wf/eeShpguKe4KOrMgkbxIU0kTcaTyJtM2g
KlpmLXcjjCeqyZ3AInuMh6vBsou4T0dahtkwRa/aDIdzA8OdPbR7ya3D2I/oz2K2
fQovyS+8+hj4Uik0Vr40AtKlHpIslsT2gD/Y9QfCjuubJUa4aUzjeufkKLsHbsTD
3WdroKlykAM2Ec1kTXJ+I3XFWR23tjdahSDxhjq0uOW+jlqEDZvMaMnEJrC0vt0F
Vb6i0M5sJSu0l3Cr27mjP6Y895No6zBPnvsHOEs6luYJY0/DbBURQB+L99WJJeRH
2gYpNQkofVCaaA/jr9OMDyESqOUQPR8suIclloj2tucqa2QwZTObew==
=QLkD
-----END PGP SIGNATURE-----




More information about the Linux mailing list