Home | Community | Message Board


Zamnesia.com
Please support our sponsors.

General Interest >> Science and Technology

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
Offlineintrigue
MMMM hard trance
 User Gallery
Registered: 09/06/04
Posts: 248
Last seen: 5 years, 11 months
Cron jobs
    #3628599 - 01/14/05 03:26 PM (13 years, 3 months ago)

OK so this is for anyone that knows about websites. I'm trying to have a certain file deleted every couple of hours on my site. the only way i can think of doing this is thru the cron jobs on the control panel. but i am not familiar with the command language. does anyone know the basic form i would use to delete a file.


Post Extras: Print Post  Remind Me! Notify Moderator
Invisiblez@z.com
Libertarian
Registered: 10/13/02
Posts: 2,876
Loc: ATL
Re: Cron jobs [Re: intrigue]
    #3628634 - 01/14/05 03:38 PM (13 years, 3 months ago)

Assuming you are runing some type of *nix:
http://tvsecure.net/manual/cron.html


--------------------
"Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." - C.S. Lewis

"I would rather be exposed to the inconveniencies attending too much liberty than to those attending too small a degree of it." - Thomas Jefferson


Post Extras: Print Post  Remind Me! Notify Moderator
Offlineintrigue
MMMM hard trance
 User Gallery
Registered: 09/06/04
Posts: 248
Last seen: 5 years, 11 months
Re: Cron jobs [Re: z@z.com]
    #3629514 - 01/14/05 08:16 PM (13 years, 3 months ago)

that's pretty nice but do you know how i would have file deleted?


Post Extras: Print Post  Remind Me! Notify Moderator
Invisiblez@z.com
Libertarian
Registered: 10/13/02
Posts: 2,876
Loc: ATL
Re: Cron jobs [Re: intrigue]
    #3629588 - 01/14/05 08:37 PM (13 years, 3 months ago)

Quote:

intrigue said:
that's pretty nice but do you know how i would have file deleted?



Assuming you have access to a shell you would make a file with a line in that format with the command "rm /directory/file" as the command to execute and then run crontab and some option (which excapes me now try "man crontab") and add the file to crontab. If you don't have a shell I can't tell you what to do.


--------------------
"Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." - C.S. Lewis

"I would rather be exposed to the inconveniencies attending too much liberty than to those attending too small a degree of it." - Thomas Jefferson


Post Extras: Print Post  Remind Me! Notify Moderator
Offlineintrigue
MMMM hard trance
 User Gallery
Registered: 09/06/04
Posts: 248
Last seen: 5 years, 11 months
Re: Cron jobs [Re: z@z.com]
    #3629603 - 01/14/05 08:42 PM (13 years, 3 months ago)

i do have shell access thanks ill try that


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

General Interest >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* linux shell script help OJK 868 7 05/23/06 02:21 PM
by OJK
* Unlocking a windows directory? tak 1,347 12 04/13/07 07:01 AM
by OJK
* Please help, reverse cellphone directory distortion 546 2 02/18/05 10:55 PM
by chocbruce
* How to rename windows directory ? T0aD 1,206 9 11/25/03 02:56 PM
by funkymonk
* Samsung Executive Facing Prison Time Over Computer Memory Price Fixing DiploidM 1,078 5 09/26/06 07:17 PM
by Jim
* Shell Account? DiploidM 566 1 11/11/04 12:34 PM
by Anno
* alternate windows shells supercollider 528 6 04/24/06 03:54 AM
by supercollider
* gmail drive shell cybrbeast 620 2 04/24/05 08:21 PM
by cybrbeast

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Lana, trendal, automan
361 topic views. 0 members, 0 guests and 0 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Zamnesia.com
Please support our sponsors.

Copyright 1997-2018 Mind Media. Some rights reserved.

Generated in 0.024 seconds spending 0.008 seconds on 19 queries.