How do you get Crontab to run a Switch.xxx

hi i trying to get Home Assistant to run RSYNC and run a switch

but i cant find it on google only about backing up
#Run Pump Every 1 Hour
0 */1 * * * switch.h_sauna_pump
#Turn Pump Off Every 1 Hour 15 Min
15 */1 * * * switch.h_sauna_pump
switch.h_sauna_pump
#Run Pump Every 4 Hour
0 */4 * * * switch.h_sauna_pump
#Turn Pump Off Every 4 Hour 15 Min
15 */4 * * * switch.h_sauna_pump
switch.h_sauna_pump

how can i do a simple command like that

I believe you have to specify the full, complete, absolute path to rsync.
A common method to do this in *NIX scripting is to define a symbol:
RSYNC=$( which rsync )
Or just use

/bin/rsync 

oh crap i forgot its not Rsync i was reading some things and typed wrong word

is Crontab -e
crap how do i change the topic i ment to say how you use Crontab not the rsync

since simple scheduler isnt what i looking for

i was able to fix the topic… sorry about that

i ment Crontab not Rsync my bad

i did find crontab in HA has run-parts /etc/periodic/hourly

so id like it to so i dunno if it works this way then

0 */1 * * * run-parts switch.h_sauna_pump

i dont think it works that way?

Can you explain what you’re trying to do? E.g., what does crontab have to do with having HA turn a switch on and off periodically?

They are trying to make something simple as conplex as possible because they haven’t read the docs

i finally figured it out from a 2015 post kept going through google

i run a pump every hour
and before Home assistant… i ran Raspberry Pi running crontab as you see above
and it would run a Py program i wrote to toggle a Relay on and off attached to the pi…

but now i just got ahold of these wifi Plugs so i trying to see if i can eliminate the Pi for for a 10 dollar wifi plug from Tplink

to comment on thedoesnt read docs… there was no specific
Crontab alternative

so i just kept going through and it was like a 2015 post

you do
time_patern
Time: /1
and then i set the switch _on
delay 15m
and then i set the switch _off

but no there was no DOC that said Cron alternative…
as i googled that too…

but i got it working apparently its automation not Cron
cuz all i wanted to do was
replace my python code with just .switch
so my automation is 1 Line of code not multiples as mine was easier to do

and i appreciate the input…
now to figure out why remote_rpi_gpio doesnt work anymore